SV-256561r991589_rule
V-256561
SRG-OS-000480-GPOS-00227
PHTN-30-000092
CAT II
10
At the command line, run the following commands for each returned file:
# chmod o-w <file>
# chown root:root <file>
At the command line, run the following command:
# find /etc/bash.bashrc /etc/profile /etc/profile.d/ -xdev -type f -a '(' -perm -002 -o -not -user root -o -not -group root ')' -exec ls -ld {} \;
If any files are returned, this is a finding.
V-256561
False
PHTN-30-000092
At the command line, run the following command:
# find /etc/bash.bashrc /etc/profile /etc/profile.d/ -xdev -type f -a '(' -perm -002 -o -not -user root -o -not -group root ')' -exec ls -ld {} \;
If any files are returned, this is a finding.
M
5520