GEN002140 - All shells referenced in /etc/passwd must be listed in the /etc/shells file, except shells specified for preventing logins

Information

The shells file 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

Use the chsh utility or edit the /etc/passwd file and correct the error by changing the default shell of the account in error to an acceptable shell name contained in the /etc/shells file.
Alternatively, use the SMIT to change the /etc/passwd shell entry.

See Also

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