SV-248706r958566_rule
V-248706
SRG-OS-000206-GPOS-00084
OL08-00-020263
CAT II
10
Configure the "lastlog" command for OL 8 to be owned by root with the following command:
$ sudo chown root /usr/bin/lastlog
Verify the "lastlog" command is owned by root with the following command:
$ sudo ls -l /usr/bin/lastlog
-rwxr-x---. 1 root root 21200 Nov 4 22:51 /usr/bin/lastlog
If the "lastlog" command is not owned by root, this is a finding.
V-248706
False
OL08-00-020263
Verify the "lastlog" command is owned by root with the following command:
$ sudo ls -l /usr/bin/lastlog
-rwxr-x---. 1 root root 21200 Nov 4 22:51 /usr/bin/lastlog
If the "lastlog" command is not owned by root, this is a finding.
M
5416