Check: GEN002120
AIX 6.1 SECURITY TECHNICAL IMPLEMENTATION GUIDE:
GEN002120
(in versions v1 r14 through v1 r10)
Title
The /etc/shells (or equivalent) file must exist. (Cat II impact)
Discussion
The shells file (or equivalent) lists approved default shells. It helps provide layered defense to the security approach by ensuring users cannot change their default shell to an unauthorized shell that may not be secure.
Check Content
Check /etc/security/login.cfg for a shells stanza. Procedure: # grep -p usw: /etc/security/login.cfg | grep "shells =" If no such stanza exists, this is a finding. Check the /etc/shells file. Procedure: # more /etc/shells If the /etc/shells file does not exist, this is a finding.
Fix Text
Edit the /etc/security/login.cfg file and add a shells stanza containing a list of valid shells. #chsec -f /etc/security/login.cfg -s usw -a shells=<list of approved shells> Create the /etc/shells file. #vi /etc/shells
Additional Identifiers
Rule ID: SV-38741r1_rule
Vulnerability ID: V-916
Group Title: GEN002120
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |