9.2.1 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.

Rationale:

An account with an empty password field means that anybody may log in as that user without providing a password.

Solution

If any accounts in the /etc/shadow file do not have a password, run the following command to lock the account until it can be determined why it does not have a password:

# passwd -l <username>

Also, check to see if the account is logged in and investigate what it is being used for to determine if it needs to be forced off.

Default Value:

OS Default: Yes

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

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

Plugin: Unix

Control ID: d37929d6e0dfa6d4f011a52c247e0de31db02d451131a649f50f4d61bb04910b