Operating System - HP-UX
1748039 Members
4841 Online
108757 Solutions
New Discussion юеВ

Password Expiration Warning

 
SOLVED
Go to solution
AmitJ.
Occasional Advisor

Password Expiration Warning

Hello All,

I already have Password expiration warning time set in Password aging policy section on my HP-UNIX 11i system and now I have to set different password expiration warning time for some of the users on the same system.

Suppose: System wide Password expiration warning time is set to "X" days in Pasword Ageing policy and now I want to set the password expiration warning time to "Y" days for some of the users and not all on same HP-UNIX 11i system.

1)Can I do this?
2)If Yes, how?
3)If I do that will that effect the System wide password Expiration warning time?

Cheers

AmitJ.
4 REPLIES 4
Tingli
Esteemed Contributor

Re: Password Expiration Warning

Need to know whether it is a trusted system or not.
Siju Jose_1
Frequent Advisor
Solution

Re: Password Expiration Warning

1)Can I do this?
yes, If the server is trusted.

2)If Yes, how?
/usr/lbin/modprpw -l -m exptm=*86400

3)If I do that will that effect the System wide password Expiration warning time?
No

For more information man modprpw

Regards
SJ
Steven E. Protter
Exalted Contributor

Re: Password Expiration Warning

Shalom Amit,

The system aging policy is most easily modified from the sam/smh interface.

To alter already created users, you will want to run passwd against these users with the -x and -y parameters set. Best thing to do is a while loop type script.

Changing an individual user password expiration policy has no effect on global policy.

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
AmitJ.
Occasional Advisor

Re: Password Expiration Warning

Thanks All, I am setting the password Aging policy systemwide.