Verify Accounts for Empty Passwords
by Geethalakshmi[ Edit ] 2009-12-15 19:46:23
Verify Accounts for Empty Passwords
To Verify No Accounts Have Empty Passwords,
Type the following command
# awk -F: '($2 == "") {print}' /etc/shadow
Lock all empty password accounts:
# passwd -l accountName