Operating System - HP-UX
1834484 Members
4127 Online
110067 Solutions
New Discussion

set passwd life time parameter

 
Jagadesh_2
Regular Advisor

set passwd life time parameter

How to set passwd life time parameter via command.

I modified the attribute of a user using
#passwd -n min -x max -w warn
let me know how to modify / set the life time
parameter using command line.

Thanks
S.Jagadesh
3 REPLIES 3
Jagadesh_2
Regular Advisor

Re: set passwd life time parameter

We are using HPUX 10.20.
Please let me know the syntax too.

Thanks
RAC_1
Honored Contributor

Re: set passwd life time parameter

passwd -n 5 -x 30 -w 7 "user_name"
(Will set min time for password change to 5 days, passwd life time 30 days and warning time 7 days. (the days are rounded off to a week.)

man passwd for details. If you are in trusted mode, the procedure is different.
There is no substitute to HARDWORK
Jagadesh_2
Regular Advisor

Re: set passwd life time parameter

i am looking for setting the password life time but -x specifies the max age of the password in passwd command . can you pls advice me on this .pls note the os is 10.20