SV-261302r1184400_rule
V-261302
SRG-OS-000259-GPOS-00100
SLEM-05-232085
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 ! -group root -type d -exec chgrp root '{}' \;
> exit
> sudo reboot
Verify the system command directories are group-owned by root with the following command:
> find -L /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin ! -group root -type d -exec stat -c "%n %G" '{}' \;
If any system command directories are returned, this is a finding.
V-261302
False
SLEM-05-232085
Verify the system command directories are group-owned by root with the following command:
> find -L /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin ! -group root -type d -exec stat -c "%n %G" '{}' \;
If any system command directories are returned, this is a finding.
M
5596