How to reactivate user with command(no SAM)

How to reactivate any users (root or non root) by command(no SAM)
HP-UX 11.11

have you tried "usermod" ?

Hi Porter,

I try "man usermod" but no option for reactivate user that was disabled.

** reactivate user mean : reactive to user that was disabled from 3 failed login.

Thanks,

Have you done an examination of the state of the user account? For example what is the expiry date now set to, this may be the thing to change with "-e". What attribute is it that makes the account appear deactivated?

Is this a trusted system? If so it's
/usr/lbin/modprpw -k user

Very thanks Perderabo,

I use "/usr/lbin/modprpw -k user" for enable user OK.

and sorry for slow reply :slight_smile:
aRm_nAja

You can also use modprpw -x username to reactivate and generate a new temp password.

thanks alot 411seeker, I trying man modprpw for many options.

arm_naja