LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cannot change required password length (https://www.linuxquestions.org/questions/linux-software-2/cannot-change-required-password-length-670169/)

kirilisa 09-15-2008 08:23 PM

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)

win32sux 09-15-2008 10:03 PM

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.

Mr. C. 09-16-2008 12:47 AM

See minlen in man pam_cracklib.

Your grep should have included libpam.


All times are GMT -5. The time now is 04:11 AM.