- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Forgotten root 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
Forums
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
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
07-10-2000 02:18 PM
07-10-2000 02:18 PM
Forgotten root password !
hpux [B 10.01]
it boots ok to a generic console login but i have no password.
Do i go in with a disk editor and rename
/etc/passwd or can i boot single user like in linux ?
I know nothing about hpux but have experience with rh & mandrake linux.
Any help /advice will be greatly appreciated
thanks -
Jemida. [farmer@cyberspace.org]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2000 02:24 PM
07-10-2000 02:24 PM
Re: Forgotten root password !
I would boot into the Single User mode (follow these instructions http://us-support.external.hp.com/cki/bin/doc.pl/sid=e8b4add20e3834639b/screen=ckiDisplayDocument?docId=200000048117891 ), from there you can reset the root password!
Hope that helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2000 03:50 PM
07-10-2000 03:50 PM
Re: Forgotten root password !
Once you boot in single user mod (hpux -is), you can edit /etc/passwd. Just vi /etc/passwd and delete the password field. In /etc/passwd file, : (colon) is the field delimitator and encrypted password field is the second one after user name. (root::0:3::/:/sbin/sh).
If you have password for single user mod you have to boot from cdrom.
If your box is in network with others, you can try to get an .rhosts or /etc/hosts.equiv file that allowed you to get in as root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2000 12:45 AM
07-11-2000 12:45 AM
Re: Forgotten root password !
Reboot and interact through ISL. From ISL prompt use hpux -is, this will take you into single user mode. At the prompt you can change your root password. Then reboot the system.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2000 12:56 AM
07-11-2000 12:56 AM
Re: Forgotten root password !
just for convenience:
Turn on your box
Hold on the Escape key until a menu appears.
Type 'boot pri isl'
When the ISL> prompt appears type:
hpux -is
(if you have HP-UX 9.x type: hpux -is boot)
The system is now booting in single user mode.
When you get the root shell prompt (#) type:
passwd root
The system asks you twice for the new root's password.
If you have done type:
reboot
Now your box reboots and comes normally up and you can login as root with your previous changed password.
Greetings
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2000 03:40 PM
07-11-2000 03:40 PM
Re: Forgotten root password !
Type 'boot pri isl'
When the ISL> prompt appears type:
hpux -is
When you get the root shell prompt (#) type,
mount -a
passwd root
the system asks you twice for the new root's password.
type reboot, in shell prompt (#)
Now your box reboots and comes normally up and you can login as root with your previous changed password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2000 10:26 PM
07-11-2000 10:26 PM
Re: Forgotten root password !
Adding for the above
In case pressing ESC key doesn't bring you to the menu, it means the workstation is secured.
I such condition you have to disconnect the disks and switch it on.
As the disks are not available autoboot comes out with error,here you can disable the secure mode.
Switch off, connect the disks and follow the procedure give by Andreas voss.
Cheers
venu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2000 04:39 AM
07-12-2000 04:39 AM
Re: Forgotten root password !
1) Interrup the boot
2) boot in single user mode (ISL> hpux -is)
3) mount /var, /usr
4) cd /etc
5) vi passwd
6) delete the password encripted
7) reboot the system
Bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 05:17 PM
07-19-2000 05:17 PM
Re: Forgotten root password !
What if the system is in trusted mode? does it mean something got to do with the shadow password file too? I ran into the above problem before and luckly I had another account that could run restricted SAM, through that I un-trusted the system then do the single user mode trick.
Rgds,
Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2000 06:18 AM
07-20-2000 06:18 AM
Re: Forgotten root password !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2000 09:40 AM
07-20-2000 09:40 AM
Re: Forgotten root password !
How does that work? /etc/passwd is typically on your bootable device. If you go to single user without a bootable device and try to change the password, where does the change get written to?
If you reconnect your bootable devices and come back up you're still reading your old unchanged copy of /etc/passwd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2000 09:48 AM
07-20-2000 09:48 AM
Re: Forgotten root password !
It's been awhile since I did this but it was done with a 10.20 system K box. Also, it has been only twice I have had to do this.
The secure function of the root passwd (in single user mode) is not written to the /etc/passwd. This procedure allows you to bypass the single user secure function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2000 11:42 AM
07-20-2000 11:42 AM
Re: Forgotten root password !
The problem here is that with the boot disk disconnected, when he reconnects that disk he's going to come back up with the same bad password. It does not get changed.
I was just curious if you had something I had not seen before, which is likely.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 11:24 AM
08-25-2000 11:24 AM
Re: Forgotten root password !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 11:30 AM
08-25-2000 11:30 AM
Re: Forgotten root password !
Also, you can boot from the cdrom (if you have) or bootable tape.
Could be a long topic. Do you realy need help or is just a Friday afternoon disscution? Anyhow, it is interesting. Come back if you need more...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 01:50 PM
08-25-2000 01:50 PM
Re: Forgotten root password !
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 09:29 PM
08-25-2000 09:29 PM
Re: Forgotten root password !
I am not familiar with 382 controller. I worked with E35 machine (server 9000) with 9.04 and K class server with 9.01.
Is this 382 an 3000 one? (sorry if this is a very silly question, but if was not a ws or server everything below is non sense).
You said you do not have cdrom or tape. You mean you do not have media (we can get one) or the box doesn't have the physical drive? Is the box into the network? do you know its IP address? If power on, can you ping it?
Try to log a post. Maybe someone else can help better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 02:08 PM
08-28-2000 02:08 PM
Re: Forgotten root password !
What we need most is the HP Basic programs we believe are stored on this 382's hard drive. Can anyone help?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 05:07 PM
08-28-2000 05:07 PM
Re: Forgotten root password !
at ISL prompt
hpux -lm
when it came to # prompt you just say
passwd root
and it will prompt for new password,give new one and enjoy with ur system
-Nagaraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 09:56 PM
08-28-2000 09:56 PM
Re: Forgotten root password !
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x603249c5ae73d4118fef0090279cd0f9,00.html
2.I understood you have no media, but still I can not get if you have or not the tape drive or cdrom drive. If yes, you can try to contact Response Center to get a cdrom or a bootable tape and everything is cool... If they can not help, tell me what you have tape or cdrom and I'll try to get a solution. If no tape device or cdrom drive on the machine...
3. Do you have any other machine running 9.x? What about 10.x? I think you may try to get the physical disk drive attached to another machine and try to import it there as... let's say vg10. If that work, can try transition link... It may be a crazy idea but it is only one that pass my head at this time...
4. Try you luck like: Get the box physical connect into the network. Let's suppose the old config is still in place. Do you have another Unix box that exists at that time with the same name when this one was functioning? Why I ask that? If somehow, it your 9.x box you have a .rhost for root, you may be able to rlogin as root without password, or maby a old user account can do that...
Here you have a chance! Try it!
5. Lottery: Try to login as root using as password: password, Password, the nmae of the box, that_time_sys_admin_name
6. Hire hackers! (just joking)...
As I said, someone else from Forum can have a better idea...
Anyway, best of luck... If you get it, post the solution! If continue to look for help, ask... Someone here should finally get it! In Unix, everything is possible!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 12:05 PM
08-30-2000 12:05 PM
Re: Forgotten root password !
Thanks Again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 01:21 PM
08-30-2000 01:21 PM
Re: Forgotten root password !
I'm not sure what the steps would be. If the disk is under LVM control you might be able to vgimport it as a new volume group. You also have to be careful not to do anything destructive to it.
Maybe some one else knows how to do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 01:35 PM
08-30-2000 01:35 PM
Re: Forgotten root password !
I do have a HP 9000 827S but I'm not sure how to hook up the 50 pin scsi drive to it and get it working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2000 03:56 PM
09-01-2000 03:56 PM
Re: Forgotten root password !
got me curious now.
THANKS EVERYONE!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2000 10:02 PM
09-01-2000 10:02 PM
Re: Forgotten root password !
Sorry, I could not get to the Forum for a while, but, anyway, I had no more idea...
I'm happy you solve it! I never think could be a "lock program" not documented and just left there....
Anyway, everything's well that finished well....