SV-239079r675045_rule
V-239079
SRG-OS-000032-GPOS-00013
PHTN-67-000007
CAT II
10
Open /etc/rsyslog.conf with a text editor and locate the following line:
$IncludeConfig /etc/vmware-syslog/syslog.conf
Ensure that the following entry is put beneath the stated line and before the "# vmware services" line.
authpriv.* /var/log/audit/sshinfo.log
If the following line is at the end of the file, it must be removed or commented out:
auth.* /var/log/auth.log
At the command line, execute the following command:
# systemctl restart syslog
# service sshd reload
At the command line, execute the following command:
# grep "^authpriv" /etc/rsyslog.conf
Expected result:
authpriv.* /var/log/audit/sshinfo.log
If the command does not return any output, this is a finding.
V-239079
False
PHTN-67-000007
At the command line, execute the following command:
# grep "^authpriv" /etc/rsyslog.conf
Expected result:
authpriv.* /var/log/audit/sshinfo.log
If the command does not return any output, this is a finding.
M
5323