Information
If successful and unsuccessful logins and logouts are not monitored or recorded, access attempts cannot be tracked. Without this logging, it may be impossible to track unauthorized access to the system.
NOTE: /etc/rsyslog.conf file is not found. Please ensure this matches policy.
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.
Solution
Troubleshoot the system logging configuration to provide for logging of root account login attempts.
Procedure:
Edit /etc/syslog.conf or /etc/rsyslog.conf to make sure 'authpriv.*' messages are directed to a file or remote system.
Examine /etc/audit/audit.rules to ensure user authentication messages have not been specifically excluded.
Remove any entries that correspond to:
-a exclude,never -Fmsgtype=USER_START
-a exclude,never -Fmsgtype=USER_LOGIN
-a exclude,never -Fmsgtype=USER_AUTH
-a exclude,never -Fmsgtype=USER_END
-a exclude,never -Fmsgtype=USER_ACCT