HP: Alternate unlock user script

Title:

HP: Alternate unlock user script

Author:

Douglas O’Leary <dkoleary@olearycomputers.com>

Description:

HP: Alternate unlock user script

Date created:

06/2001

Date updated:

06/2001

Disclaimer:

Standard: Use the information that follows at your own risk. If you screw up a system, don’t blame it on me…

HP has two commands, getprpw and modprpw which get and modify trusted systems pasword entries. HP supports neither one of these commands; however, they do exist as an alternate for my unlock script.

Charlie Brown (That’s really his name) has created a script that uses these commands. The nice thing about his script is it will tell you why a user has his account locked. I may have to steal that logic. On the down side, it makes some assumptions about how many bad password attempts a user has, inactivity times, etc. There should be a way to get those values from the system - but then, there should be a supported, documented command line version to reenable locked accounts as well. Go figure.

Anyway, here’s the script, in case you decide you want this one.