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!