- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: HPUX root password recovery
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP