5.4.3.1 Ensure nologin is not listed in /etc/shells
Audit#
Run the following command to verify that nologin is not listed in the /etc/shells file:
Nothing should be returnedRemediation#
Edit /etc/shells and remove any lines that include nologin
Run the following command to verify that nologin is not listed in the /etc/shells file:
Nothing should be returnedEdit /etc/shells and remove any lines that include nologin