Operating System - HP-UX
1827207 Members
2466 Online
109716 Solutions
New Discussion

Re: Expiry date for user's password

 
M.M. Oee
Contributor

Expiry date for user's password

How to set the date period (e.g. 90 days) to force the users to change their password?

Regards
munmeng
4 REPLIES 4
T G Manikandan
Honored Contributor

Re: Expiry date for user's password



To do a different ways of password management and improved security features you need to make your system trusted.

http://docs.hp.com/hpux/onlinedocs/B2355-90121/B2355-90121.html

Under the Chapter installation and configuration of Trusted system

check for the subject "setting up password controls"

which should explain the way.

you need to go here to change things
SAM-> Auditing and Security-> System Security Policies
-> Password Aging Policies


T G Manikandan
Honored Contributor

Re: Expiry date for user's password

Also check this doc for the tusted and un-trusted differ.

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065676950
Steven E. Protter
Exalted Contributor

Re: Expiry date for user's password

Your best bet is to follow the above instructions and go with a trusted system. With a couple of clicks in SAM you've got your system working by that policy.

Be careful not to mess with user id's like bin, and such, those are for root and daemon's and you don't want those expriing.

Once your system is trusted you can set expiration with the passwd command line.

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
Bill Hassell
Honored Contributor

Re: Expiry date for user's password

man passwd

You can use SAM to set/modify user passwords. To script a large number of users at the same time, (11.xx systems and recent patches) use the -x option to passwd.


Bill Hassell, sysadmin