Download your favorite Linux distribution at LQ ISO.
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!


Closed Thread
  Search this Thread
Old 05-07-2008, 02:31 PM   #1
Registered: Apr 2008
Posts: 108

Rep: Reputation: 15
Unhappy Please Help Change Password Min Length from 6 to 8

After googling for days and calling Red Hat (1888REDHAT1) I'm need help. I have gone to various webistes including this theb belwo

If I modify the /etc/pam.d/system-auth
password requisite /lib/security/$ISA/ retry=3
minlen=8 lcredit=-1 ucredit=-1 dcredit=-1 ocredit=-1

If I modify the /etc/pam.d/passwd
password required /lib/security/ retry=3 minlen=8

If I modify the etc/login.defs and change MIN to 8 still nothing.

Can anyone tell me if they got it to work modifying one of the files above and which?

Using RHEL Workstation 4 64bit 2.6.9-5 ELsmp

Old 05-07-2008, 03:47 PM   #2
Senior Member
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 80
Did you do this?

"Now verify that the new password restrictions work for new passwords. Simply login to a non-root account and change the password using the passwd command. Note that the above requirements are not enforced if you run the passwd command under root."
Old 05-08-2008, 06:44 AM   #3
Registered: Apr 2008
Posts: 108

Original Poster
Rep: Reputation: 15
Unhappy Attempts to test Min Password Requirement

After modifying the files I chage a few other security realivent files and rebooted the system. Now my Linux Box will not boot properly, constantly switch view between the login splash screen and NIVIDA (in a do-loop). I'm not sure if modifying the password files or adding a password hash to the /sbin/grub/grub.conf file broke my system. I will probably be forced to reload Linux.

If my memory serves me correctly, since I have done so much over the last few days on this issue, I want to say yes users could change there password with less than 8 characters.

I have called Red Hat and they refer me to I have read the Linux internal shared documents found on the Linux box under somthing like user/share/documents/..... and even followed their directions to the T and copied and pasted the commands but to no avail.

Once I rebuild the system, as I suspect I will have to, I will avoid change the /sbin/grub/grub.conf file untill I resolve this password issue.
Old 05-08-2008, 07:00 AM   #4
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate of

Closed Thread

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
Howto change system password policies (passwd length, complexity) tisource Linux - Security 3 09-06-2005 01:01 AM
increasing password length... jsheffie Solaris / OpenSolaris 4 07-26-2005 09:59 AM
Password length ust Linux - Distributions 1 04-06-2005 06:18 AM
Password length in SuSE 8.0 odin123 Linux - Security 3 05-24-2002 04:12 PM
Can't Change Min Password Length in RHL7.2 MikHud Linux - Security 2 04-16-2002 06:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:39 PM.

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