Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-Linux
[Top] [All Lists]

Re: Passwords on Linux systems(for all flavors)

Subject: Re: Passwords on Linux systems(for all flavors)
Date: Sun, 10 Jul 2005 17:11:57 -0600
Dear Group members/list,
I would like to know the place where I can find the linux password constraints for the various linux flavors. What I mean is the details like number of key spaces or the key length, the types of charactors that can be used, the restrictions and the number of times the password can be tried if not infinite, etc. I am in need of these details very urgently, so please do help me on this topic.


Thank you in advance for your time and consideration.
Yours Sincerely,
R.S.Shyaam Sundhar

This is configurable on pretty much all Linux systems via PAM. With a reasonably modern system and PAM there are very few constraints (anything in the last few years). Using the standard unix /etc/passwd and whatnot I have user names such as "foo-bazsomething-bar.knucklehead" with pretty complex passwords (pretty much anything/any length goes since the passwords are hashed). If you are using say LDAP or SMB backends there may be some limitations but in general nothing to worry about. For usernames the general rule of thumb is:
a-z
A-Z
0-9
.
-
and a few other characters are allowed as well but the above is pretty much all most people use. As far as account lockout/etc this again is configurable via PAM. Most Linux systems do not use account lockouts by default (this can lead to an easy denial of service) but instead delay password guessing attempts from the same connection and/or only give three tries before dropping the connection. I suggest you read about PAM:


http://www.samag.com/documents/s=1161/sam0009a/0009a.htm

-Kurt Seifried
http://seifried.org/security/


<Prev in Thread] Current Thread [Next in Thread>