Disable Password Aging on Trusted System (144 Views)
Reply
Regular Advisor
Posts: 193
Registered: ‎03-27-2005
Message 1 of 6 (144 Views)
Accepted Solution

Disable Password Aging on Trusted System

Apparently my previous co-worker left me a going away present = Our batch account passwords are expired! I need a command line arg to 'turn off' password aging policy....
Outstanding Contributor
Posts: 16,207
Registered: ‎11-03-1996
Message 2 of 6 (144 Views)

Re: Disable Password Aging on Trusted System

Dan,

Try "modprpw -V" - see "man modprpw".


Pete

Pete
Regular Advisor
Posts: 193
Registered: ‎03-27-2005
Message 3 of 6 (144 Views)

Re: Disable Password Aging on Trusted System

Thanks for the feedback, but the "-V" option only resets the clock. I was really hoping to find one simple command to 'disable' the policy of password aging without going into SAM.
Honored Contributor
Posts: 14,366
Registered: ‎05-29-2000
Message 4 of 6 (144 Views)

Re: Disable Password Aging on Trusted System

If you're using a relatively recent version of HP-UX, the passwd command can set the aging value. Use something like: passwd -x 0 batch_user. The zero should turn off aging.
Honored Contributor
Posts: 2,108
Registered: ‎02-21-2004
Message 5 of 6 (144 Views)

Re: Disable Password Aging on Trusted System

Hi,

Password aging could be disabled using
# modprpw -m mintm=0,lftm=0,exptm=0,expwarn=0

I guess the same command is ran when you use SAM to disable it.
Regular Advisor
Posts: 193
Registered: ‎03-27-2005
Message 6 of 6 (144 Views)

Re: Disable Password Aging on Trusted System

Thank you all for the information!
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.