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

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 unsecure shell.

Solution

Create a /etc/shells file containing a list of valid system shells. Consult vendor documentation for an appropriate list of system shells.

Procedure:
# echo '/bin/bash' >> /etc/shells
# echo '/bin/csh' >> /etc/shells
(Repeat as necessary for other shells.)

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 674a84dcb0d7ff7ba6bb88b11cd69f0e39b32c0ccd5b40a1e1b292372661fd72