-   Linux - Security (
-   -   Configuring /etc/pam.d/passwd module (

plexus 05-22-2004 01:36 AM

Configuring /etc/pam.d/passwd module
Hi all

I'm using RH9 and am facing some problems configuring my /etc/pam.d/passwd file.

I am trying to restrict the users such that when they change their password, it must be of minimum 10 characters.

Here's how my /etc/pam.d/passwd file looks like


auth                required service=system-auth
account                required service=system-auth
#password        required service=system-auth

# My own additions
password        required        /lib/security/ retry=3 minlen=10
password        required        /lib/security/ md5 use_authtok

I commented out the 3rd line if you noticed.

Any idea?

unSpawn 05-25-2004 03:09 PM

Put the cracklib line in /etc/pam.d/system-auth.

plexus 05-25-2004 07:55 PM

Alright. It's working now.

Thanks unSpawn :)

All times are GMT -5. The time now is 11:03 PM.