Operating System - HP-UX
1752589 Members
3869 Online
108788 Solutions
New Discussion юеВ

how to disable hpux password aging policy per user ?

 
cedrichiu
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 6
Sunny123_1
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
Tingli
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.
SoorajCleris
Honored Contributor

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
Siju Jose_1
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
fizan
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?
SoorajCleris
Honored Contributor

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