- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Root password
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-17-2008 10:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 10:51 AM
09-17-2008 10:51 AM
Re: Root password
Interupt boot
Go into single user mode
Might need to mount /usr
But from here you can reset passwd.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 10:53 AM
09-17-2008 10:53 AM
Re: Root password
Two choices:
1. Remember what you forgot
2. Seriously: Boot into single-user mode and use 'passwd' to establish a new one.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 10:57 AM
09-17-2008 10:57 AM
Re: Root password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 11:36 AM
09-17-2008 11:36 AM
Solution11.23 and 11.31 now ask for old password even in single user mode (at least with trusted system enabled ( maybe try /usr/bin/passwd vs /sbin/passwd)
Steps:
1 )Log in as root, wait, you do not know the password...
1) crash server either by RS or TOC from MP CM mode. ( or by pulling the power cords ;)
After self-tests you will be prompted for "hit any key to interupt in 10 sec... "
Hit the "any" key. (it is right next to the delete key ;)
From BCH enter "BO" ( assuming PA-RISC server)
when asked if you would like to interact with ISL answer "Y"
at ISL propmt enter "hpux -is"
System will boot to single user and you will have a shell prmpt.
If not trusted you may be able to just use the passwd command as noted above.
else if trusted:
mount /usr and /var ( might need to fsck them )
cd /tcb/files/auth/r
vi root
clear out the passwd field in this file then save.
execute passwd command
select a new password and remember it this time.
Boot to run level 3:
init 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 11:44 AM
09-17-2008 11:44 AM
Re: Root password
# model
# uname -a
Please post results.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 10:59 PM
09-17-2008 10:59 PM
Re: Root password
1. /usr/lbin/modprpw -x root
2. passwd root
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2008 01:20 AM
09-18-2008 01:20 AM
Re: Root password
But once you solve your password issue I suggest to:
Create a secure drive (encrypted) on a secure server with limited user access and not connected to the internet.
Use a product like password safe and keep all your passwords in it.
Don't put it on your PC and carry it around with your...PC's / laptops get stolen.
This goes against the old philosophy of never writing passwords down. But when you have 100's to remember this is a viable option.
And you'll never have to worry about forgetting passwords again.
It's free and you can set it up to keep a password history in case you ever have to restore from an old backup and forget the old passwords.