Operating System - HP-UX
1753798 Members
8044 Online
108805 Solutions
New Discussion юеВ

question about expired passwd

 
navin
Super Advisor

question about expired passwd

Hello ,
one of the local account has been expired in a hpux 11.23 os runs on pa risc box.how do i make it current and set that up non expiring with out changibg the existing passwd.
Please advice to take care of this with appropriate command - no sam please.
thanks so much
Learning ...
2 REPLIES 2
Raj D.
Honored Contributor

Re: question about expired passwd

Navin,
I guess your system is in trusted mode,:
To check:
# /usr/lbin/getprpw username
If it returns the value your system is in trusted mode.

To make it non expirable , and lYou can use :
# modprpw -m exptm=0 username

For further check man pages of getprpw and modprpw .

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Raj D.
Honored Contributor

Re: question about expired passwd

You can also set #/usr/lbin/modprdef -m expwarn=10
It will notify the user 10 days before expiration of the account.

" If u think u can , If u think u cannot , - You are always Right . "