GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lost root password on HP B180
Operating System - HP-UX
1850961
Members
7635
Online
104056
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-21-2006 12:55 AM
07-21-2006 12:55 AM
lost root password on HP B180
So I found an old thread which said to login as single user, then type "passwd root" to fix the problem, or to try using vi against the passwd file. Typing passwd root does not work, cannot execute. Typing sam does not work. I changed directory to /etc hoping to see which files are there but "ls" does not work. So I tried to use vi, vi was not found. It is not in /usr/bin or /usr/ucb. Ideas? Thx.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2006 01:31 PM
07-22-2006 01:31 PM
Re: lost root password on HP B180
Are you in single user mode? If so, issue a mount -a command to mount /usr /opt and the rest of VG00. This should allow you access to the commands you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2006 08:08 AM
07-23-2006 08:08 AM
Re: lost root password on HP B180
Well if you are in single user mode, /usr and others will not be mounted, hence the SAM/vi failures etc.
You need to do mount -a to mount the file systems, then these commands should be available.
I have also moved this thread to a more appropriate forum
You need to do mount -a to mount the file systems, then these commands should be available.
I have also moved this thread to a more appropriate forum
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 12:57 AM
07-24-2006 12:57 AM
Re: lost root password on HP B180
Thanks for the ideas, folks. I fixed the issue by using/sbin/password root to change the password. BTW, I was in single user mode and I did try to mount a couple of FS w/o success. Thanks again.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP