Hello,
I am new to unix systems. I have an assignment in which I need to implement a password complexity on CentOS 3 Server. The PAM is installed in it. The requirements are as follows -
- It should be 8 Char long
- Should have atleast one lowercase, one uppercase, and one numerical char
I read many how-to and tutorial and came to conclusion that I need to edit /etc/pam.d/system-auth to get my work done. I also found out that I need to use pam_cracklib for that purpose.
Following is the screenshot of my system-auth file.
http://img25.imageshack.us/img25/1508/centos.png
Now when I try to change the password of user account with weak password like 'passws' (without quote) it accepts which ideally it should not.
I need to use this version of CentOS for this assignment. So I can not upgrade it. Other thing is I do not know if my system uses PAM or not though it has /etc/pam.d dir.
Please help me with it.
Thanks,
Rahil