Datacentre Support Reference Guides

HP: Alternate unlock user script

 

 
 

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 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.