9.6 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).

Rationale:

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/benchmarks/4777

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1), CSCv7|4.4

Plugin: Unix

Control ID: 598ebfecdf56af868c3a46991b444454d44814c3ef671d812a0e6a8b72540828