SV-226489r603265_rule
V-226489
SRG-OS-000259
GEN001200
CAT II
10
Change the mode for system command files to 755 or less permissive.
Procedure:
# chmod 755 <filename>
Check the permissions for files in /etc, /bin, /usr/bin, /usr/lbin, /usr/ucb, /sbin, and /usr/sbin.
Procedure:
# ls -lL /etc /bin /usr/bin /usr/lbin /usr/ucb /sbin /usr/sbin
If any command file is listed and has a mode more permissive than 755, this is a finding.
Note: Elevate to Severity Code I if any command file listed is world-writable.
V-226489
False
GEN001200
Check the permissions for files in /etc, /bin, /usr/bin, /usr/lbin, /usr/ucb, /sbin, and /usr/sbin.
Procedure:
# ls -lL /etc /bin /usr/bin /usr/lbin /usr/ucb /sbin /usr/sbin
If any command file is listed and has a mode more permissive than 755, this is a finding.
Note: Elevate to Severity Code I if any command file listed is world-writable.
M
4060