password minimum length for specific user only in centos
How to set password minimum length for specific local user only. I am using CentOs 5.
Tried some tweaks with /etc/pam.d/password-auth using pam_cracklib.so module.
Eg: cat /etc/pam.d/password-auth
password requisite pam_cracklib.so try_first_pass retry=3 minlen=10
password requisite pam_passwdqc.so use_first_pass enforce=everyone
But above setting works for all users and I want to be it specific for a particular user only, say with uid=510.
Last edited by cptrojan101; 02-07-2013 at 12:21 PM.