code for /etc/pam.d/system-auth(password complexity)
hi.i want to implement password complexity in linux.i was told to set the values for lcredit,dcredit,ucredit,ocredit,difok and minlen in /etc/pam.d/system-auth to achieve this.
but the file says that all user changes will be destroyed the next time the file is run.
so can i write my own code to achieve password complexity and minimum length of a password.
how can i write a C program with these parameters?
|