SV-230257r627750_rule
V-230257
SRG-OS-000259-GPOS-00100
RHEL-08-010300
CAT II
10
Configure 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 "0755".
$ sudo chmod 0755 [FILE]
Verify the system commands contained in the following directories have mode "0755" or less permissive with the following command:
$ sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin -perm /0022 -exec ls -l {} \;
If any system commands are found to be group-writable or world-writable, this is a finding.
V-230257
False
RHEL-08-010300
Verify the system commands contained in the following directories have mode "0755" or less permissive with the following command:
$ sudo find -L /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin -perm /0022 -exec ls -l {} \;
If any system commands are found to be group-writable or world-writable, this is a finding.
M
2921