Information
The nullok argument overrides the default action of pam_unix.so to not permit the user access to a service if their official password is blank.
Using a strong password is essential to helping protect personal and sensitive information from unauthorized access
Solution
Run the following command to remove the nullok option from all lines in the /ect/pam.d/password-auth and /etc/pam.d/system-auth files:
# sed -ri 's/^(.*)(\s+nullok\s*)(.*$)/\1 \3/' /etc/pam.d/{password,system}-auth