Link to home
Start Free TrialLog in
Avatar of Francis Lai
Francis Lai

asked on

RHEL5 - how to restrict cannot use previous password for 'root'

I tried to use the followings at '/etc/pam.d/system-auth' to restrict the account cannot reuse previous password.

password    sufficient    pam_unix.so md5 shadow nullok try_first_pass use_authtok remember=5

It works ok at the user account, but not for the 'root' account. Is it possible to restrict on 'root' as well ?
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial