how to disable hpux password aging policy per user ? (2328 Views)
Reply
Frequent Advisor
cedrichiu
Posts: 41
Registered: ‎04-26-2009
Message 1 of 7 (2,328 Views)

how to disable hpux password aging policy per user ?

Have anyone come across to disable hpux password aging policy per user ?
Please use plain text.
Esteemed Contributor
Sunny123_1
Posts: 413
Registered: ‎05-06-2009
Message 2 of 7 (2,328 Views)

Re: how to disable hpux password aging policy per user ?

Hi

What exactly you want to do?

With 11.0 and 11i you have the modprpw command which lets you set things like password lifetime (in days), expiration time (days) and account expiration time (days) etc for perticular user.

Regards
Sunny
Please use plain text.
Esteemed Contributor
Tingli
Posts: 613
Registered: ‎08-13-2007
Message 3 of 7 (2,328 Views)

Re: how to disable hpux password aging policy per user ?

You can user:

passwd -x -1 User_Name

This will disable the password aging.
Please use plain text.
HP Pro
SoorajCleris
Posts: 886
Registered: ‎12-19-2008
Message 4 of 7 (2,328 Views)

Re: how to disable hpux password aging policy per user ?

Hi cedrichiu,

The aging can be defined using -x option with passwd command.

Have anyone come across to disable hpux password aging policy per user ?

Tell me why you came across such situation..

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Please use plain text.
Frequent Advisor
Siju Jose_1
Posts: 34
Registered: ‎07-27-2004
Message 5 of 7 (2,328 Views)

Re: how to disable hpux password aging policy per user ?

Hi

is it a trusted system ? if it is this is what we do

/usr/lbin/modprpw -l -m mintm=0,exptm=0 username

Regards
Please use plain text.
Super Advisor
fizan
Posts: 455
Registered: ‎05-06-2009
Message 6 of 7 (2,328 Views)

Re: how to disable hpux password aging policy per user ?

if i want to set across the server for all users passwd exp how can i?
Please use plain text.
HP Pro
SoorajCleris
Posts: 886
Registered: ‎12-19-2008
Message 7 of 7 (2,328 Views)

Re: how to disable hpux password aging policy per user ?

Hi,

You can use etc/security file for this

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Please use plain text.
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