1835191 Members
2442 Online
110077 Solutions
New Discussion

Re: HPUX Password Reset

 
Corey Gill
New Member

HPUX Password Reset

Hi,

Is it possible to set a locked out user account on an HPUX11 trusted system to re-activate automatically after a specified time elapses?

If so, how can this be done and can it be applied to root?

Thank you in advance
7 REPLIES 7
Rick Garland
Honored Contributor

Re: HPUX Password Reset

Locked accts are often the result of too many unsuccessful login attempts.
To unlock, can use SAM to unlock the accts.

The accts stay locked until they are acted on.

Victor BERRIDGE
Honored Contributor

Re: HPUX Password Reset

I dont know if its wyse to have something of the sort, for obvious security reasons, but if you wish, you could write a script that picks up the status of users, make a list of the deactivated, and reactivate them using getprpw and modprpw...since they are not supported cmd I will not give the usage but for reactivation because its so handy:
modprpw -k
About root, I regularly find myself with root account deactivated, solution is to have spare root alias accounts, and allow your user account to shutdown for the case someone tried all and blocked all root access and if I remenber right even deactivated you can still log yourself as root on the console if no one changed the passwd but that need to be confirmed by other gurus since Im not near a console to try...
Regards
victor
Tom Danzig
Honored Contributor

Re: HPUX Password Reset

I think:

/usr/lbin/modprpw -k username

will work. You could schedule via root cron to perform at specified intervals. Doesn't sound like good security practice though.
Tom Danzig
Honored Contributor

Re: HPUX Password Reset

Victor,

You are correct. You can log in at the console even if locked out. That's one way to reactivate.
Victor BERRIDGE
Honored Contributor

Re: HPUX Password Reset

Thanks Tom!

Best of all
Victor
Tom Danzig
Honored Contributor

Re: HPUX Password Reset

Correction:

Logging in on the console will reactivate for _root_ _only_. My mistake.
Victor BERRIDGE
Honored Contributor

Re: HPUX Password Reset

This is a very smart feature HP has implemented, compared to AIX where you have to go from a CD...