System Administration
Showing results for 
Search instead for 
Do you mean 

how to disable hpux password aging policy per user ?

Frequent Advisor

how to disable hpux password aging policy per user ?

Have anyone come across to disable hpux password aging policy per user ?
6 REPLIES
Esteemed Contributor Esteemed Contributor

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
Esteemed Contributor Esteemed Contributor

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

You can user:

passwd -x -1 User_Name

This will disable the password aging.
HPE Pro

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
Frequent Advisor

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
Super Advisor

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?
HPE Pro

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