SV-226570r603265_rule
V-226570
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-226570
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
4060