Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am looking for a tool that will try to crack user passwords on the system or determine how strong their password is. I would prefer just having a tool that could determine a users password weakness though.
Look, there is no defined criteria for password strength. But for online as well as personal security reasons, it's always recommended to use a password that is a combinations of uppercase, lowercase, special characters and numbers. Such a password will call a 'strong' password.
In the meantime, you can use following link from Microsoft for password strength checker. (Check here). Just type in any password, and it will show you it's strength.
I'm doing auditing of linux builds, part of that is to determine how strong service account passwords are. I don't know what the passwords are set to on the box which is why I'm looking for a tool that can scan the /etc/password and shawdow files to determine how secure they are.
You can't read out the password from /etc/passwd or /etc/shadow, only the hashes of those passwords, so it is impossible to say if a password is strong or not. You can try to crack the passwords, for example with John the Ripper, but it can literally take years to do so.
it's always recommended to use a password that is a combinations of uppercase, lowercase, special characters and numbers. Such a password will call a 'strong' password.
false - long passwords can be equally strong and more memorable
try to crack the passwords, for example with John the Ripper, but it can literally take years to do so.
But for audit purposes you might accept anything not cracked in a week as adequate. My experience is when weak passwords are in use some of them are very weak.
Quote:
I don't understand why I have to change my password.
It was cracked in 2 seconds ... let me do that again ... "record1", ok?
But it's not a dictionary word!
I'm doing auditing of linux builds, part of that is to determine how strong service account passwords are. I don't know what the passwords are set to on the box which is why I'm looking for a tool that can scan the /etc/password and shawdow files to determine how secure they are.
In that case, you should better define some rules or policy for using a strong password.
Check following files, where such rules can be defined:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.