LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-16-2011, 06:31 AM   #1
vickyk
Member
 
Registered: Dec 2009
Posts: 38

Rep: Reputation: 6
Getting password length of already existing users.


Hello,

Will it be possible to know the users on a linux box whose password length is lesser than 10 characters ?

Since the passwords get encrypted on creation, I am not sure if /etc/shadow can be used to find this out.

Any help is appreciated. Thank you
 
Old 11-16-2011, 06:40 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
What you could do is check the machine for what the current password policy is, when it was first enforced and when users last changed their password, but note password length (AAAAAAAAAA) is no meaningful indication at all if not combined with password strength (nA#tH@1_1+) checking, remembering used passwords and forcing users to change their password regularly.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Minimum password length Domskis Linux - Newbie 4 10-20-2011 02:32 AM
increasing password length... jsheffie Solaris / OpenSolaris 4 07-26-2005 08:59 AM
Password ageing for existing AIX users szahri AIX 1 04-12-2005 01:44 PM
Password length ust Linux - Distributions 1 04-06-2005 05:18 AM
Password length in SuSE 8.0 odin123 Linux - Security 3 05-24-2002 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration