9.4 Ensure Password Fields are Not Empty

Information

An account with an empty password field means that anybody may log in as that user without providing a password at all (assuming that the value PASSREQ=NO is set in /etc/default/login).

All accounts must have passwords, be configured as "Non-login," or be locked.

Solution

Use the passwd -l command to lock accounts that are not permitted to execute commands. Use the passwd -N command to set accounts to be non-login.

See Also

https://workbench.cisecurity.org/files/611

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(a)

Plugin: Unix

Control ID: d1aac9e0e2f29f9ce5c297ce10496b4eedb3e78fe6259a4b3d8bbfe16878ee67