SV-281037r1165466_rule
V-281037
SRG-OS-000259-GPOS-00100
RHEL-10-400100
CAT II
10
Configure RHEL 10 so that the system commands are protected from unauthorized access.
Run the following command, replacing "[FILE]" with any system command file not owned by "root".
$ sudo chown root [FILE]
Verify RHEL 10 is configured so that the system commands contained in the following directories are owned by "root" with the following command:
$ sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/libexec /usr/local/bin /usr/local/sbin ! -user root -exec stat -L -c "%U %n" {} \;
If any system commands are found to not be owned by root, this is a finding.
V-281037
False
RHEL-10-400100
Verify RHEL 10 is configured so that the system commands contained in the following directories are owned by "root" with the following command:
$ sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/libexec /usr/local/bin /usr/local/sbin ! -user root -exec stat -L -c "%U %n" {} \;
If any system commands are found to not be owned by root, this is a finding.
M
5733