SV-239169r675315_rule
V-239169
SRG-OS-000480-GPOS-00227
PHTN-67-000098
CAT II
10
At the command line, execute the following commands for each returned file:
# chmod o-w <file>
# chown root:root <file>
At the command line, execute 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-239169
False
PHTN-67-000098
At the command line, execute 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
5323