Operating System - HP-UX
1834389 Members
2126 Online
110066 Solutions
New Discussion

PASSWORD_MINDAYS /etc/default/security

 
CITEC HP TEAM
Frequent Advisor

PASSWORD_MINDAYS /etc/default/security

We have set the PASSWORD_MINDAYS=1 in /etc/default/security

Is there a way for root to reset a user's password and then enable the user to change that password without waiting for 1 day?

Thanks.
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: PASSWORD_MINDAYS /etc/default/security

If you reset the password from the command line, do a:

# passwd -f userid

That will force the user to change the password after successfully logging in.
Suraj K Sankari
Honored Contributor

Re: PASSWORD_MINDAYS /etc/default/security

Hi,

After creating a new user or any old existing user set there password with
passwd -f username
When user login it will ask force to create new passwd.


Suraj
CITEC HP TEAM
Frequent Advisor

Re: PASSWORD_MINDAYS /etc/default/security

Thanks for the responses
CITEC HP TEAM
Frequent Advisor

Re: PASSWORD_MINDAYS /etc/default/security

closing