SV-230228r627750_rule
V-230228
SRG-OS-000032-GPOS-00013
RHEL-08-010070
CAT II
10
Configure RHEL 8 to monitor all remote access methods by installing rsyslog with the following command:
$ sudo yum install rsyslog
Then 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. To restart the "rsyslog" service, run the following command:
$ sudo systemctl restart rsyslog.service
Verify that RHEL 8 monitors all remote access methods.
Check that remote access methods are being logged by running the following command:
$ sudo grep -E '(auth.*|authpriv.*|daemon.*)' /etc/rsyslog.conf
auth.*;authpriv.*;daemon.* /var/log/secure
If "auth.*", "authpriv.*" or "daemon.*" are not configured to be logged, this is a finding.
V-230228
False
RHEL-08-010070
Verify that RHEL 8 monitors all remote access methods.
Check that remote access methods are being logged by running the following command:
$ sudo grep -E '(auth.*|authpriv.*|daemon.*)' /etc/rsyslog.conf
auth.*;authpriv.*;daemon.* /var/log/secure
If "auth.*", "authpriv.*" or "daemon.*" are not configured to be logged, this is a finding.
M
2921