- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX - root account lock
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 05:41 PM
01-01-2004 05:41 PM
HPUX - root account lock
I am not able to login as root on my HPUX 11i server; it is giving me error that root account is disable please contact system administrator.
I have tried booting in single user mode & modified /etc/passwd file & now my root entry in /etc/passwd file look like this
root::0:3::/:/sbin/sh
But still I am facing same problem. Please suggest the solution.
Regards
Varian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 05:47 PM
01-01-2004 05:47 PM
Re: HPUX - root account lock
Is your system converted to a trusted system by any chance? In that case you need to look for /tcb/auth/r/root I think for the password of root.
If su works, you could reset the root account using SAM...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 06:01 PM
01-01-2004 06:01 PM
Re: HPUX - root account lock
Login into single user mode
Untrust the system
Remove the encrypted entry from the /etc/passwd file as before.
Trust the system again.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 06:36 PM
01-01-2004 06:36 PM
Re: HPUX - root account lock
I am not able to su.
Regarding trusted system; I can see that /tcb/files/auth/r/root file but don't know how to verify whether my system is trusted or not.
Also let me know what type of entry I need to check in /tcb/files/auth/r/root for the trusted system.
Thanks in advance,
Varian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 06:52 PM
01-01-2004 06:52 PM
Re: HPUX - root account lock
having this I think the system is trusted.
you can also do a
#getprpw
it not trusted you get a message not trusted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 06:53 PM
01-01-2004 06:53 PM
Re: HPUX - root account lock
Strange, the file looks ok.
Are the rights on the passwd file ok?
Do you have a trusted system? /etc/tcb
Do you have a file called /etc/securetty?
Did you try makeing a second root account ( id 0)
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 07:08 PM
01-01-2004 07:08 PM
Re: HPUX - root account lock
Or run the first solution from T G Manikandan.
BTW: if you have /tcb/...., your system is converted to trusted and passwords in /etc/passwd will be ignored. That's why your change to /etc/passwd didn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 07:57 PM
01-01-2004 07:57 PM
Re: HPUX - root account lock
Can anybody let us know how to untrust the system. I can boot machine in single user mode.
Thanks & Regards
Varian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 08:11 PM
01-01-2004 08:11 PM
Re: HPUX - root account lock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 08:27 PM
01-01-2004 08:27 PM
Re: HPUX - root account lock
Accounts for Users and Groups --> Users
choose the root account
choose Actions --> Modify Security Policies --> General User Acc. Policies, then change "Unsuccessful Login Tries Allowed" from 3 to another number (max 99).
By the way, you also ought to be able to use sam to unlock the root account, provided that you can sucessfully "su". If you can't "su", then lets hope the direct edit to remove the u_lock entry works.
By the way - you can also set the system to require entry of a password before booting to single user mode - just as well that this was not enabled, or you would not have been able to get in in single user mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 08:49 PM
01-01-2004 08:49 PM
Re: HPUX - root account lock
Change the passwd and again make the system trusted
# passwd root
# /usr/lbin/tsconvert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 11:31 PM
01-01-2004 11:31 PM
Re: HPUX - root account lock
Thanks a lot for your prompt suggestions,
My problem has been resolved by /usr/lbin/tsconvert -r command & by removing u_lock entry in /tcb/files/auth/r/root file.
Thanks & Regards
Varian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2004 11:41 PM
01-01-2004 11:41 PM
Re: HPUX - root account lock
There are available on 11.11 only.
I guess you was able to recover root access and avoid to convert passwd files twice with that commands.
getpr and modpr is under /usr/lbin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2004 12:33 AM
01-02-2004 12:33 AM
Re: HPUX - root account lock
- When root is locked out, you can always login through the 'real' system console.
- /tcb is present only when your system is trusted (unless someone arbitrarily created the directory) and it will contain a /tcb/files directory.
- you don't have to un-trust the system to fix the root entry. You can unlock any account using /usr/lbin/modprpw -k
- The man pages for prpwd, modprpw and getprpw are available at http://docs.hp.com
Bill Hassell, sysadmin