- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Recover root password in HP-UX11.11
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
Discussions
Discussions
Discussions
Forums
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
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
тАО05-15-2004 06:07 AM
тАО05-15-2004 06:07 AM
Recover root password in HP-UX11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2004 06:09 AM
тАО05-15-2004 06:09 AM
Re: Recover root password in HP-UX11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2004 07:24 AM
тАО05-15-2004 07:24 AM
Re: Recover root password in HP-UX11.11
is this an authentic process.also can u forward me the exact procedure for recovering this root password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2004 07:50 AM
тАО05-15-2004 07:50 AM
Re: Recover root password in HP-UX11.11
You can't recover root password. Patrick is 100% right. Some details: you have to reboot your computer. Without root access you can do this either by command RS from GSP or switching off/on the computer. This is nor the best way, but ...
Interrupt start up process when this will be prompted and print:
bo pri
y (on the next question)
hpux -is (on the next prompt)
At the end of this you'll be able to change root password by entering command
passwd
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2004 10:08 AM
тАО05-15-2004 10:08 AM
Re: Recover root password in HP-UX11.11
Thanks for info.want to reset root password instead of recover.just one more clarification.do we need to mount any dir i.e /,usr,/sbin or any other.
following will be the procedure that i will be following for this root password reset.please confirm.
we have rp7410.logged into MP.
Boot into single user mode:
Stop the boot process when it says "Press any key to stop in 10 seconds". It will be on "Main Menu >" prompt.
Type "bo pri" hit Enter.
< Interact with IPL ? >
Say Y ( for yes)
You will be at "ISL>" prompt.
Type "hpux -is" hit Enter.
System will be booted in single user mode and it will be logged in as "root".
At the end of this you'll be able to change root password by entering command
passwd (should i mention passwd root here or only tp specify passwd as i will be logged on as root and password will be set to null)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2004 10:29 AM
тАО05-15-2004 10:29 AM
Re: Recover root password in HP-UX11.11
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2004 02:27 PM
тАО05-15-2004 02:27 PM
Re: Recover root password in HP-UX11.11
cd /usr/local/bin
./.call_command "vi /tcb/files/auth/s/userid"
Here it should give you the incripted passwd what you can copy over to the same file for the root user and replace the old passwd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2004 02:47 PM
тАО05-15-2004 02:47 PM
Re: Recover root password in HP-UX11.11
Next, get on the CONSOle, and interrupt the boot process.
next, type "hpux -is", as the boot string, or you might search or find the current boot string. This can be done, if you so decide to boot into ISL mode. I agree, you can look at the BOOT STRINGS (or BOOT FLAGS). you can change these flags in ISL mode, so you boot into "hpux -is" rather than "hpux" only which is Multi-User.
Good Luck...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2004 07:32 PM
тАО05-15-2004 07:32 PM
Re: Recover root password in HP-UX11.11
Suggestion made by Patrick,Victor and Sanjay has guided you in right path. Follow that procedure.
Just to add something:
# passwd should work and prompt you for new root password.
Secondly in case if you need to mount any of /usr /sbin filesystems just refer /etc/fstab file to identify respective lv of filesystem and then try mount it.
#mount /dev/dsk/lvolx /usr
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2004 11:13 PM
тАО05-15-2004 11:13 PM
Re: Recover root password in HP-UX11.11
one more command , why dont you copy the /etc/passwd from another computer that you know the root password ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2004 01:53 PM
тАО05-21-2004 01:53 PM
Re: Recover root password in HP-UX11.11
passwd root
It will prompt you
New password:
and to reenter password.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 12:00 PM
тАО07-01-2004 12:00 PM
Re: Recover root password in HP-UX11.11
If the system is a "Trusted System" , the passwd will * not * work in the way you want - passwd will ASK for OLD password.
To get around , convert back to "Untrusted " using SAM before reapplying the abovementioned steps.
( you will need to mount /usr & mount /var in order to get sam up & running. then go to Auditing and Security , and find some option which get you to convert back to untrusted system. No password needed)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 10:36 PM
тАО07-01-2004 10:36 PM
Re: Recover root password in HP-UX11.11
/usr/sam/lbin/usermod.sam -F -p " " root
which nulls roots password and you can then just use passwd to reset as it doesnt ask for an old password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2004 11:13 PM
тАО07-01-2004 11:13 PM
Re: Recover root password in HP-UX11.11
everything has been told so summarization of change in single user mode:
reboot
break the automatic reboot in 10 seconds
enter boot
interact with ISL=y
enter hpux -is
passwd xxxxxx
init 3
check all file systems are mounted, all services are running, interfaces are up
br Jan