SV-219306r610963_rule
V-219306
SRG-OS-000032-GPOS-00013
UBTU-18-010410
CAT II
10
Configure the Ubuntu operating system to monitor all remote access methods by adding the following lines to the "/etc/rsyslog.d/50-default.conf" file:
auth.*,authpriv.* /var/log/secure
daemon.notice /var/log/messages
In order for the changes to take effect the "rsyslog" service must be restarted with the following command:
# sudo systemctl restart rsyslog.service
Verify that the Ubuntu operating system monitors all remote access methods.
Check that remote access methods are being logged by running the following command:
# grep -E -r '^(auth,authpriv\.\*|daemon\.\*)' /etc/rsyslog.*
/etc/rsyslog.d/50-default.conf:auth,authpriv.* /var/log/auth.log
/etc/rsyslog.d/50-default.conf:daemon.notice /var/log/messages
If "auth.*", "authpriv.*" or "daemon.*" are not configured to be logged in at least one of the config files, this is a finding.
V-219306
False
UBTU-18-010410
Verify that the Ubuntu operating system monitors all remote access methods.
Check that remote access methods are being logged by running the following command:
# grep -E -r '^(auth,authpriv\.\*|daemon\.\*)' /etc/rsyslog.*
/etc/rsyslog.d/50-default.conf:auth,authpriv.* /var/log/auth.log
/etc/rsyslog.d/50-default.conf:daemon.notice /var/log/messages
If "auth.*", "authpriv.*" or "daemon.*" are not configured to be logged in at least one of the config files, this is a finding.
M
4055