HP: Unlock users

Title:

HP: Unlock users

Author:

Douglas O’Leary <dkoleary@olearycomputers.com>

Description:

HP: Unlock users

Date created:

11/05/96

Date updated:

02/14/00

Disclaimer:

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

Copy of a message sent to comp.sys.hp.hpux on/about 11/5/96.

Hello, all

Thanks for all the inputs. Most of them made mention of going through sam to unlock the accounts. Others made mention of resetting the passwords. I tried that and it doesn’t work; the administrative lock is still there.

So, I ended up calling HP; they said “Go through SAM”. I don’t want to go through sam because I have a fairly congested network and it’s too bloody slow. There has to be a way to go through the command line. HP was apparently having some problems with finding the right command line so, while I was on the phone with them, I started looking into it. (Side note: According to HP, there is no command line option to unlock user accounts)

The flag in the /tcb/files/auth/<letter>/<name> file that causes the lock out is “u_numunsuclog” You sed that out of the file and the user can log back in. I created a script that will do that for me. The script is below should anyone else care to use it. Obviously, you’ll have to run it as root; however, if you can muck with the password file through SAM, you probably already have root authority…

Hope this helps someone; Thanks again for all the tips and time.

Doug O’Leary