- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX root password recovery
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
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
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
08-07-2015 04:00 PM
08-07-2015 04:00 PM
HPUX root password recovery
Hi,
I need to recover root password of rx4640
I tried booting in single user mode but asks password there also since it's trusted system
Later booted the server using recovery CD but coud not run chroot /ROOT /sbin/sh because root partition was not mounted correctly.
Is there any way we can recover the root password
- Tags:
- Password reset
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2015 09:46 PM
08-07-2015 09:46 PM
Re: HPUX root password recovery
> I need to recover root password of rx4640
I know nothing, so I'd do a Web search for keywords like, say:
hp-ux lost root password
or:
hp-ux lost root password trusted
> Later booted the server using recovery CD but coud not run chroot
> /ROOT /sbin/sh because root partition was not mounted correctly.
As usual, showing actual commands with their actual output can be
more helpful than vague descriptions or interpretations. Usually a good
start:
uname -a
"cou[l]d not run" is not a useful problem description. It does not
say what you did. It does not say what happened when you did it.
"root partition was not mounted correctly" means what, exactly, and
how did you determine that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2015 03:07 AM
09-08-2015 03:07 AM
Re: HPUX root password recovery
Process to recover from a lost/forgotten root password
- Power off the server
- Power on the server
- Interupt the boot process during the 10 second interval (display will indicate this on the screen)
- bo pri
- Answer yes to interact with the ipl
- At the prompt “hpux -is” for single user mode
- cd /sbin
- passwd root and follow prompts to put in new password
- shutdown -r 0 to reboot to multiuser mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2015 11:30 PM
09-13-2015 11:30 PM
Re: HPUX root password recovery
Login to single user mode
then ,
mount /var
mount /tmp
You may need to use the fill path of the mount command.
vi /tcb/files/auth/r/root
change:
:u_pwd=YfdfdTmswL7o/.:\
to
:u_pwd=:\
null it out and save it.
then simply u can change the passwd as it wont ask old root passwd