How Do I Verify No Accounts Have Empty Passwords?

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..

Moderator: Staff

Post Reply
Ashlin
Posts: 0
Joined: Fri Sep 16, 2016 10:10 am

How Do I Verify No Accounts Have Empty Passwords?

Post by Ashlin »

Hello,

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


Martin
Posts: 36
Joined: Fri Sep 16, 2016 10:34 am

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

Post 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


If you are looking for assistance in server management, please get in touch with our support.
Post Reply