Datacentre Support Reference Guides

HP: Unlocking User accounts
 

 
 

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

-------------------------------------
Doug O'Leary <dkoleary@mayspeh.com>
May & Speh
1501 Opus Place
Downers Grove, IL, 60515-5713
708-719-0451
-------------------------------------

NOTE:  The script is available via this link