- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to recover 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
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
тАО01-29-2010 01:39 AM
тАО01-29-2010 01:39 AM
I had lost the root password of my server which is working with 11iv23 os ,can anybody tell how to recover the password,currently no sessions is running so as to enter into the single user mode for changing password.
Please help me in this
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 01:52 AM
тАО01-29-2010 01:52 AM
Re: How to recover password
Boot in single user mode
Then run passwd in order to set another passwd for root account.
If it ask for old password, while changing the password do :
/usr/lbin/modprpw -k root
/usr/sam/lbin/usermod.sam -F -p "" root
/sbin/passwd root
Best regards,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 01:53 AM
тАО01-29-2010 01:53 AM
Re: How to recover password
Boot system at console, you may need to use the power switch if you don't have root access.
Note that if you actually know the root password, and its been deactivated, then logging in at the console "recovers it"
interupt at the 10 second prompt
bo
Y to the interact question.
hpux -is
passwd
If you have password protected single user mode, then you must boot off a Core OS cd and null out the password section of root user in /etc/passwd
To get vi in single user mode:
mount /usr
mount /var
vi /etc/passwd
Durvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 01:54 AM
тАО01-29-2010 01:54 AM
Re: How to recover password
Boot up server in maintenance mode
Hit any key to interrupt boot process.
Main Menu > bo pri
Interact with IPL (Y or N)?> y
ISL>hpux -is
# mount -a
# passwd root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 01:57 AM
тАО01-29-2010 01:57 AM
SolutionMain Menu > bo pri
Interact with IPL (Y or N)?> y
ISL>hpux -is
# mount -a
# /usr/lbin/modprpw -k root
# cd /tcb/files/auth/r/root
# rm root
#passwd root
Best of Luck, :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 02:24 AM
тАО01-29-2010 02:24 AM
Re: How to recover password
Thanks to all i had solved the issue Thanks a lot
A special thanks to hp itrc forums