nagios user failed login attempts
Posted: Tue Jul 24, 2018 6:26 am
when i was working in my development nagios I noticed that when i became the nagios user I got
Last failed login: Tue Jul 24 07:04:01 EDT 2018
There were 1391 failed login attempts since the last successful login.
I do not have any script ssh'ing to the machine to drop off files.
I only use this to make new checks, so i thought, ok, it's been sitting a while
i knew the counter in Redhat 7.5 resets after a successful login, but when i logged in a minute later, there were 3 failed logins, and it happened every time i let it rest and became nagios
so i looked in /var/log/secure and saw this happening every hour
Jul 24 07:07:01 devnagxi01 su: pam_unix(su:auth): auth could not identify password for [nagios]
that didn't explain the many failed logins, so I looked in /var/log/messages and saw this almost every minute
Jul 24 07:17:01 devnagxi01 su: FAILED SU (to nagios) nagios on none
Then I checked my other XI installs and they all have the same entries in the logs
I looked for a cron, but neither nagios or root don't have any crons running
in /etc/cron.d/nagiosxi are a bunch of scripts, and some of them run every hour, but I'm not sure what could be messed up for the failed login as the nagios user
do you have any ideas?
Last failed login: Tue Jul 24 07:04:01 EDT 2018
There were 1391 failed login attempts since the last successful login.
I do not have any script ssh'ing to the machine to drop off files.
I only use this to make new checks, so i thought, ok, it's been sitting a while
i knew the counter in Redhat 7.5 resets after a successful login, but when i logged in a minute later, there were 3 failed logins, and it happened every time i let it rest and became nagios
so i looked in /var/log/secure and saw this happening every hour
Jul 24 07:07:01 devnagxi01 su: pam_unix(su:auth): auth could not identify password for [nagios]
that didn't explain the many failed logins, so I looked in /var/log/messages and saw this almost every minute
Jul 24 07:17:01 devnagxi01 su: FAILED SU (to nagios) nagios on none
Then I checked my other XI installs and they all have the same entries in the logs
I looked for a cron, but neither nagios or root don't have any crons running
in /etc/cron.d/nagiosxi are a bunch of scripts, and some of them run every hour, but I'm not sure what could be messed up for the failed login as the nagios user
do you have any ideas?