STIGQter STIGQter: STIG Summary: Solaris 10 SPARC Security Technical Implementation Guide Version: 2 Release: 2 Benchmark Date: 22 Jan 2021:

All shell files must have mode 0755 or less permissive.

DISA Rule

SV-226570r603265_rule

Vulnerability Number

V-226570

Group Title

SRG-OS-000480

Rule Version

GEN002220

Severity

CAT I

CCI(s)

Weight

10

Fix Recommendation

Change the mode of the shell.
# chmod 0755 <shell>

Check Contents

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.

Vulnerability Number

V-226570

Documentable

False

Rule Version

GEN002220

Severity Override Guidance

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.

Check Content Reference

M

Target Key

4060

Comments