Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Check accounts with Empty Passwords?  (Read 2811 times)

0 Members and 1 Guest are viewing this topic.

Jithin

  • Guest
Check accounts with Empty Passwords?
« on: November 29, 2013, 10:03:17 pm »
Hi Guys,

It is not a good security practice to keep accounts that are having empty or no password.

So how to find out accounts with no password?

Run the command given below.

awk -F: '($2 == "") {print}' /etc/shadow

That will give you the list and you can either remove the account, block account or can set a strong password.

Thank you for stopping by!