LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-15-2008, 08:23 PM   #1
kirilisa
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:
Code:
password requisite /lib/security/$ISA/pam-cracklib.so retry=3
password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow
password required /lib/security/$ISA/pam_deny.so
(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
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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: 59
See minlen in man pam_cracklib.

Your grep should have included libpam.

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


Reply


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


All times are GMT -5. The time now is 08:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration