AIX7-00-003110 - The /etc/shells file must exist on AIX systems.

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

Run the following command to set shells attribute for stanza usw in '/etc/security/login.cfg':
# chsec -f /etc/security/login.cfg -s usw -a shells=<list of approved shells separated by comma>

Create the '/etc/shells' file and add all approved shells there, one shell per line:
# vi /etc/shells

Change the ownership and mode-bit of '/etc/shells':
# chown bin.bin /etc/shells
# chmod 644 /etc/shells

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_IBM_AIX_7-x_V3R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-215408r991589_rule, STIG-ID|AIX7-00-003110, STIG-Legacy|SV-101737, STIG-Legacy|V-91639, Vuln-ID|V-215408

Plugin: Unix

Control ID: aa0f272dc8a1b9e6caed881852b32c7f6b4fd00dc08d76b56f1fb7ca07cae013