Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-11-2002, 12:22 PM   #1
LQ Newbie
Registered: Dec 2002
Location: McLean
Posts: 28

Rep: Reputation: 15
Configure passwd

I am having truble setting up /etc/passwd to have requirements for user passwords (like minimum 5 characters and at least two numbers). Please help!
Old 12-11-2002, 01:27 PM   #2
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
You need to adjust /etc/login.defs, so the line you're looking for there starts with PASS_MIN_LEN

Remember though shorter passwords are less secure ...
Old 12-12-2002, 06:25 AM   #3
LQ Newbie
Registered: Dec 2002
Location: McLean
Posts: 28

Original Poster
Rep: Reputation: 15
Is there any way to make it require at least 2 numbers and at least on capital letter? Also, can you have it lock out the user with 5 bad attempts?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
/etc/passwd XaViaR Linux - General 1 06-13-2005 11:12 AM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 04:52 PM
passwd romel Linux - Security 1 04-25-2004 02:12 AM
about passwd jnzhang Linux - General 7 07-08-2003 05:32 PM
/etc/passwd help debdas Linux - General 3 05-09-2003 02:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:57 AM.

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