SV-227696r603266_rule
V-227696
SRG-OS-000480
GEN002220
CAT I
10
Change the mode of the shell.
# chmod 0755 <shell>
If /etc/shells exists, check the group ownership of each shell referenced.
# cat /etc/shells | xargs -n1 ls -lL
Otherwise, check any shells found on the system.
# find / -name "*sh" | xargs -n1 ls -lL
If a shell has a mode more permissive than 0755, this is a finding.
V-227696
False
GEN002220
If /etc/shells exists, check the group ownership of each shell referenced.
# cat /etc/shells | xargs -n1 ls -lL
Otherwise, check any shells found on the system.
# find / -name "*sh" | xargs -n1 ls -lL
If a shell has a mode more permissive than 0755, this is a finding.
M
4061