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: 1648d1ef45f960b63f0dafd40d1cc936ab1d8337df313263c83a1f905f825c80