Disable password expire in HP UNIX

Hi,

How to disable passwd expire in HP UNIX by not using SAM ?
In our system SAM have some strange bugs. However due to some reason, we cannot add that patch.

B. Rgds
Christina

try /usr/lbin/modprpw commond, if it is trusted system
man modprpw

Regards,
Awadhesh

Disabling password aging
� The easiest way to disable password aging is to set
the defaults in /etc/default/passwd to:
MAXWEEKS=8000
MINWEEKS=0
WARNWEEKS=0
� Any large number can be used for MAXWEEKS
� To turn off password aging for a specific user set
the -x option (max age) to -1. Setting -x to 0
disables aging and forces a password change at the
next login.

Hi,

First suggestion is greate.
However I only need to disable passwd expiration for one existing user.
I am a bit scar to use modprpw. Man page said "Can may result in serious database corruption if modifications out of sync with /etc/passwd or NIS+ tables" . How about 'passwd -x 0'. Any side effect and does it work?

B. Rgds
Christina