SV-275676r1148078_rule
V-275676
SRG-OS-000032-GPOS-00013
RIIM-OS-652015
CAT II
10
Configure Ubuntu OS to monitor all remote access methods.
Add or modify the following line in the "/etc/rsyslog.d/50-default.conf" file:
auth.*,authpriv.* /var/log/secure
daemon.* /var/log/messages
Restart "rsyslog.service" for the changes to take effect by using the following command:
$ sudo systemctl restart rsyslog.service
Verify that Ubuntu OS monitors all remote access methods by using the following command:
$ grep -Er '^(auth\.\*,authpriv\.\*|daemon\.\*)' /etc/rsyslog.*
/etc/rsyslog.d/50-default.conf:auth.*,authpriv.* /var/log/secure
/etc/rsyslog.d/50-default.conf:daemon.* /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-275676
False
RIIM-OS-652015
Verify that Ubuntu OS monitors all remote access methods by using the following command:
$ grep -Er '^(auth\.\*,authpriv\.\*|daemon\.\*)' /etc/rsyslog.*
/etc/rsyslog.d/50-default.conf:auth.*,authpriv.* /var/log/secure
/etc/rsyslog.d/50-default.conf:daemon.* /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
5706