SV-238376r654303_rule
V-238376
SRG-OS-000259-GPOS-00100
UBTU-20-010456
CAT II
10
Configure the system commands to be protected from unauthorized access. Run the following command:
$ sudo find /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin -perm /022 -type f -exec chmod 755 '{}' \;
Verify the system commands contained in the following directories have mode 0755 or less permissive:
/bin
/sbin
/usr/bin
/usr/sbin
/usr/local/bin
/usr/local/sbin
Check that the system command files have mode 0755 or less permissive with the following command:
$ sudo find /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin -perm /022 -type f -exec stat -c "%n %a" '{}' \;
If any files are found to be group-writable or world-writable, this is a finding.
V-238376
False
UBTU-20-010456
Verify the system commands contained in the following directories have mode 0755 or less permissive:
/bin
/sbin
/usr/bin
/usr/sbin
/usr/local/bin
/usr/local/sbin
Check that the system command files have mode 0755 or less permissive with the following command:
$ sudo find /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin -perm /022 -type f -exec stat -c "%n %a" '{}' \;
If any files are found to be group-writable or world-writable, this is a finding.
M
5318