Verify Accounts for Empty Passwords

by Geethalakshmi 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

Tagged in:

1023
like
0
dislike
0
mail
flag

You must LOGIN to add comments