Page 1 of 1

How Do I Verify No Accounts Have Empty Passwords?

Posted: Fri Oct 07, 2016 6:28 pm
by Ashlin
Hello,

How can i verify all accounts on a cpanel which have empty password?

Re: How Do I Verify No Accounts Have Empty Passwords?

Posted: Fri Oct 14, 2016 5:36 am
by Martin
Log into your linux server as root and you must manually check the /etc/shadow file.

Command : cat /etc/shadow

If the second field (Encrypted password field) in /etc/shadow file is empty, it means password is empty.

{userName}:{password}:{lastpasswdchanged}:{Minimum_days}:{Maximum_days}:{Warn}:{Inactive}:{Expire}:

{password} = This should not be empty.

Martin
Support Staff
Nixtree Solutions
Managed Backups || Server Management
https://www.nixtree.com