SV-226569r603265_rule
V-226569
SRG-OS-000480
GEN002210
CAT II
10
Change the group-owner of the shell to root, bin, or sys.
Procedure:
# chgrp root <shell>
If /etc/shells exists, check the group ownership of each shell referenced.
Procedure:
# cat /etc/shells | xargs -n1 ls -lL
Otherwise, check any shells found on the system.
Procedure:
# find / -name "*sh" | xargs -n1 ls -lL
If a shell is not group-owned by root, bin, or sys, this is a finding.
V-226569
False
GEN002210
If /etc/shells exists, check the group ownership of each shell referenced.
Procedure:
# cat /etc/shells | xargs -n1 ls -lL
Otherwise, check any shells found on the system.
Procedure:
# find / -name "*sh" | xargs -n1 ls -lL
If a shell is not group-owned by root, bin, or sys, this is a finding.
M
4060