Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-15-2008, 08:23 PM   #1
LQ Newbie
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Cannot change required password length

Are there any other places this kind of information can be stored? (CentOS 4) I made the below changes but when I try to change a password it still says

"The password is too short. Please use at least 6 characters."

- I looked at /etc/login.defs and PASS_MIN_LEN was already set to 5.

- There is no such file as /etc/pam.d/common-password

- There is nothing having to do with password lengths in /etc/pam.d/system-auth. This is what it says about passwords there:
password requisite /lib/security/$ISA/ retry=3
password sufficient /lib/security/$ISA/ nullok use_authtok md5 shadow
password required /lib/security/$ISA/
(in fact the string 'min' is nowhere in any file in /etc/pam.d/* - I grep'ped -i for it)
Old 09-15-2008, 10:03 PM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
kirilisa, please don't resurrect dead threads.

The thread you've posted in is over three years old. I'm moving your post to its own thread in Software.
Old 09-16-2008, 12:47 AM   #3
Mr. C.
Senior Member
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
See minlen in man pam_cracklib.

Your grep should have included libpam.

Last edited by Mr. C.; 09-16-2008 at 12:51 AM.


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
Please Help Change Password Min Length from 6 to 8 mccartjd Linux - Newbie 3 05-08-2008 06:00 AM
pam_tally doesn't work when a password change is required jyoung4 Linux - Security 0 06-15-2006 05:38 PM
Howto change system password policies (passwd length, complexity) tisource Linux - Security 3 09-06-2005 12:01 AM
Can't Change Min Password Length in RHL7.2 MikHud Linux - Security 2 04-16-2002 05:36 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:18 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