- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root unlocking
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
09-11-2009 10:08 AM
09-11-2009 10:08 AM
root unlocking
Actually i want to unlock the root passwd in non-trusted system.
I know the procedures of the same in trusted node.But what abt non-trusted...
My server is B.11.23 integrity
Regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2009 10:22 AM
09-11-2009 10:22 AM
Re: root unlocking
Unless you have another login with UID=0 you will have to crash the server and boot up in single user mode, mount all filesystems and edit the password file to blank out the password field (or run the "passwd root" command).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2009 11:29 AM
09-11-2009 11:29 AM
Re: root unlocking
Do you have any user with equivalent to root means his uid will be 0 if yes then you can logging with this id and reset the root passwd.
If you don't have the same then do you have sudo access if yes then sudo -su will take into root .
If sudo also not there then you need to reboot into single user and there you need to set the root passwd.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2009 11:35 AM
09-11-2009 11:35 AM
Re: root unlocking
Thanx for the response.Actually i forgot the passwd.I changed the passwd in single user mode by using /sbin/passwd command.
But if i remove password field in /etc/passwd,
i can login to the server with blank passwd?
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2009 04:28 PM
09-11-2009 04:28 PM
Re: root unlocking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2009 02:57 AM
09-12-2009 02:57 AM
Re: root unlocking
need to go console and go into single user mode like above described , from /etc/passwd delete the password field to logon password less. .
In my case , I believe, when I trying to adjust min and max expiration dates ,that root user to change his / her password at the next login attempt like issuing this command:
# passwd -x 0 -n 0 root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2009 03:35 AM
09-14-2009 03:35 AM
Re: root unlocking
>...trying to adjust min and max expiration dates
That is an expired password. There is a difference between a locked account and an expired password. With a locked account the old password is never referenced and usually there is an asterisk in the password field. The account can only be unlocked by the superuser by specifying a new password. An expired password is still in the password field. The account owner is asked to enter the old password before it is replaced by a new one. The superuser as always can reset it without specifyng the old password (unless you are talking about the superuser pasword).