SV-261300r1184394_rule
V-261300
SRG-OS-000259-GPOS-00100
SLEM-05-232075
CAT II
10
Configure the system commands to be protected from unauthorized access. Run the following command:
> sudo transactional-update shell
> sudo find -L /bin /sbin /usr/bin /usr/sbin /bin /sbin /usr/bin /usr/sbin ! -user root -type f -exec chgrp root '{}' \;
> exit
> sudo reboot
Verify the system commands are group-owned by root with the following command:
> sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin ! -group root -type f -exec stat -c "%n %G" '{}' \;
If any system commands are returned, this is a finding.
V-261300
False
SLEM-05-232075
Verify the system commands are group-owned by root with the following command:
> sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin ! -group root -type f -exec stat -c "%n %G" '{}' \;
If any system commands are returned, this is a finding.
M
5596