- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root password set with root password lost
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
12-06-2004 01:29 AM
12-06-2004 01:29 AM
root password set with root password lost
How is possible to set root password ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 01:37 AM
12-06-2004 01:37 AM
Re: root password set with root password lost
Boot the box with GSP or power cycle the system. Its a must that the system must be as idle as possible. Shut down databases and such if possible.
Interupt the boot at the 10 second prompt.
bo
Ineract, take the Y option
hpux -is
You will boot single user mode and probably NOT be prompted for a root password. You are root.
You can now run the passwd command and set the root password.
ONLY If its a trusted system:
mount /var
mount /usr
vi /tcb/files/auth/r/root
null out the pwd entry.
Save the file.
shutdown -ry now
You now have no root password. After boot, use the passwd command to set it IMMEDIATELY.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 01:41 AM
12-06-2004 01:41 AM
Re: root password set with root password lost
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 01:42 AM
12-06-2004 01:42 AM
Re: root password set with root password lost
Two ways to do it if you're not now logged in as root. Both will require a reboot. You may need to get into the GSP to reset the system.
Both require going into single-user run level.
1) Mount the filesystems with a mount -a. Then run /sbin/passwd root
2) IF the system is in trusted mode. Mount the filesystems with mount -a. Then edit the /tcb/files/auth/r/root file & remove the characters between :u_pwd= and :\ Be sure to leave those - just remove the data between.
Then you can set a new PW with the passwd command.
When complete just run init 3 to get back to multi-user run level.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 01:42 AM
12-06-2004 01:42 AM
Re: root password set with root password lost
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 03:34 AM
12-06-2004 03:34 AM
Re: root password set with root password lost
Prblem solved.