Quote:
Originally Posted by mlangdn
Doing it this way (with root privileges) will force the change.
|
Thanks, but this is how I was doing it, I was doing it as root.
Quote:
Originally Posted by HasC
anyways, if you want to disable it, look in your PAM files for a line that looks like this
Code:
password required pam_cracklib.so retry=3 minlen=11 difok=3 lcredit=0 ucredit=1
dcredit=1 ocredit=1
(from a CentOS installation)
and modify it as you want. More info here.
|
Thank you. What might my pam configuration file be called though? From that documentation, I should have a file /etc/pam.conf, but I don't have this file. I do have a folder /etc/pam.d, but there are no *.conf files located there.
Using 'find' I found similar text in /etc/pam.d/system-auth.orig and /etc/pam.d/system-auth-ac. system-auth-ac contained the following lines, which are similar:
Code:
password requisite pam_cracklib.so try_first_pass retry=3
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok
password sufficient pam_unix.so md5 shadow nullok try_first_pass
password required pam_deny.so
And system-auth.orig contained the following lines, which are similar:
Code:
password requisite pam_cracklib.so try_first_pass retry=3
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok
password required pam_deny.so
I don't want to mess with anything here though before I know what I'm doing.
Also, how would I restart PAM after making changes?