1829404 Members
1870 Online
109991 Solutions
New Discussion

Re: Password policy

 
nash11
Frequent Advisor

Password policy

In my RH server , when the user password is expired , then the user is unable to change the password by themself , but only root user can change this password , if , could advise what is the problem , is it the function of "chage" ? if I want to disable it , please advise how to do it ? thx
3 REPLIES 3
Sergejs Svitnevs
Honored Contributor

Re: Password policy

I suggest do not lock the account after the password expires. This means that if logs in after the password expires, he will be propmted for a new password at login.

passwd -i-1

Regards
Steven E. Protter
Exalted Contributor

Re: Password policy

Shalom nash

To implement this change across the system, you will want to run the command above on all users.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Asif Sharif
Honored Contributor

Re: Password policy

Hi Nash,

#passwd -i-1

The -i option is used to disable an account after the password has been expired for a number of days. After a user account has had an expired password for inact days, the user may no longer sign on to the account.

Regards,
Asif Sharif
Regards,
Asif Sharif