- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: forgot 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
Forums
Discussions
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
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
04-04-2001 09:49 AM
04-04-2001 09:49 AM
forgot root password
I have a customer that has forgotten their root password. I have recovered from this situation using Solaris, but not HPUX. I am assuming I can do something like boot from the HPUX CD. Is this correct. Can someone point me in a direction that I can provide my clients (very non-unix types) a step-by-step process?
Thanks,
Grant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2001 09:54 AM
04-04-2001 09:54 AM
Re: forgot root password
ON power up, it will present the boot menu and tell you to interrupt it in 10 seconds if you need to. You want to hit the enter key here and then type in bo pri -is
This will boot to single user mode where they can issue the command passwd to change the root password.
They will then want to reboot the machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2001 09:59 AM
04-04-2001 09:59 AM
Re: forgot root password
bo
It will ask you if you want to interact with ISL, type y. Once at the ISL> prompt type:
ISL>hpux -is
This will bring you into single user mode. Mount your filesystems and issue the password command. Then type reboot and you should be all set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2001 12:24 PM
04-04-2001 12:24 PM
Re: forgot root password
I posted a bit of info on recovery and prevention a while back. Hope it helps
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x3475dfe5920fd5118fef0090279cd0f9,00.html
Good luck
Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2001 12:42 PM
04-04-2001 12:42 PM
Re: forgot root password
##non trusted system
turn power off
break boot sequence
type "boot pri"
answer "y" to interact with ipl
type "hpux -is" (boots in single user)
fsck /dev/dsk/???? (/usr/disk/device)
mount /usr
at prompt type "passwd root" (Change your password)
type "reboot"
##trusted system with no passwd on single user
same as prior.
##trusted system with passwd on single user
put core_os cdrom in drive
turn power off
break boot sequence
boot (cdrom hardware path)
answer "n" to interact with IPL
at the menu go to the recovery shell
fsck /dev/dsk/(your / device driver)
I'm not sure but i think it is /mnt (dir for mounting on the cdrom) check this
mount /dev/dsk/(your / device) /mnt
cd /mnt/tcb/files/auth/r
cp -p root root.bak
vi root
go down to the u_pwd variable
remove everything between the = and the :
type reboot
you should be able to login with no password
Hope this helps
...jcd...