1832886 Members
2151 Online
110048 Solutions
New Discussion

Re: password expiry

 
KOGOE
Advisor

password expiry

My system is HP9000 rp4440 running on HP-UX 11i v1; I would like to oblige all users to change their password every 60 days, with a warning 2 days before password expiry.Then a issue this command : passwd -w 2 -x 60 user
But I have en error saying that I can't issued the option -w because my system is not a trusted system. My question is that how can I bypass this problem?
thank u
3 REPLIES 3
Yogeeraj_1
Honored Contributor

Re: password expiry

hi,

you must run in trusted mode to be able to use this functionality.

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Yogeeraj_1
Honored Contributor

Re: password expiry

hi again,

you are running two threads for the same problem. Please consider closing one of them.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1010227


kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
melvyn burnard
Honored Contributor

Re: password expiry

Many years ago, there was a script around for HP-UX 9.x that could do something like this as a cron job.

Essentially, you need to write a cron job that will run every 60 days to chang eth euser password filed in /etc/passwd to have ,.. inserted at the front of their password. This accepts their old password but forces a password change at login time.
Failing that, you will need to change the system to be come a trusted system
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!