SV-99065r1_rule
V-88415
SRG-OS-000062-GPOS-00031
VROM-SL-000230
CAT II
10
Ensure attempts to alter /var/log/lastlog are audited by modifying /etc/audit/audit.rules to contain "-w /var/log/lastlog -p wa" with the following command:
echo '-w /var/log/lastlog -p wa' >> /etc/audit/audit.rules
Or run the following command to implement all logging requirements:
# /etc/dodscript.sh
Verify that attempts to alter the log files /var/log/lastlog are audited:
# egrep "lastlog" /etc/audit/audit.rules
If "-w /var/log/lastlog -p wa" entry does not exist, this is a finding.
V-88415
False
VROM-SL-000230
Verify that attempts to alter the log files /var/log/lastlog are audited:
# egrep "lastlog" /etc/audit/audit.rules
If "-w /var/log/lastlog -p wa" entry does not exist, this is a finding.
M
3461