GEN002120 - The /etc/shells (or equivalent) file must exist - '/etc/shells file exists'

Information

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.

Solution

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

See Also

http://iasecontent.disa.mil/stigs/zip/U_STIG_Library_2015_07.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-38741r1_rule, STIG-ID|GEN002120, Vuln-ID|V-916

Plugin: Unix

Control ID: 4be956936c1b0bedacd2cdbcdfc168475f05fad4eb909c8f89ab74aaf9300b1d