SV-281058r1165529_rule
V-281058
SRG-OS-000259-GPOS-00100
RHEL-10-400205
CAT II
10
Configure RHEL 10 so that the system commands to be protected from unauthorized access.
Run the following command, replacing "[FILE]" with any system command with a mode more permissive than "755".
$ sudo chmod 755 [FILE]
Verify RHEL 10 is configured so that the system commands contained in the following directories have mode "755" or less permissive with the following command:
$ sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/libexec /usr/local/bin /usr/local/sbin -perm /022 -exec ls -l {} \;
If any system commands are found to be group-writable or world-writable, this is a finding.
V-281058
False
RHEL-10-400205
Verify RHEL 10 is configured so that the system commands contained in the following directories have mode "755" or less permissive with the following command:
$ sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/libexec /usr/local/bin /usr/local/sbin -perm /022 -exec ls -l {} \;
If any system commands are found to be group-writable or world-writable, this is a finding.
M
5733