SV-271851r1092265_rule
V-271851
SRG-OS-000032-GPOS-00013
OL09-00-005000
CAT II
10
Configure OL 9 remote access methods to be monitored.
Add or update the following lines to the "/etc/rsyslog.conf" file:
auth.*;authpriv.*;daemon.* /var/log/secure
The "rsyslog" service must be restarted for the changes to take effect with the following command:
$ sudo systemctl restart rsyslog.service
Verify that OL 9 monitors all remote access methods.
Check that remote access methods are being logged by running the following command:
$ grep -rE '(auth.\*|authpriv.\*|daemon.\*)' /etc/rsyslog.conf
authpriv.* /var/log/secure
If "auth.*", "authpriv.*" or "daemon.*" are not configured to be logged, this is a finding.
V-271851
False
OL09-00-005000
Verify that OL 9 monitors all remote access methods.
Check that remote access methods are being logged by running the following command:
$ grep -rE '(auth.\*|authpriv.\*|daemon.\*)' /etc/rsyslog.conf
authpriv.* /var/log/secure
If "auth.*", "authpriv.*" or "daemon.*" are not configured to be logged, this is a finding.
M
5680