1848120 Members
7774 Online
104022 Solutions
New Discussion

Re: hpux

 
andy gartside
New Member

hpux

what can i do if i have forgotten my root password>?
hello
10 REPLIES 10
Pete Randall
Outstanding Contributor

Re: hpux

Boot in single user mode.

Pete

Pete
PIYUSH D. PATEL
Honored Contributor

Re: hpux

Hi,

Boot the system and interuppt the boot process.

At ISL prompt

ISL> hpux -is ( this will boot your system is single user mode )

Change your password will the passwd command.

This is for the non-trusted system.

Piyush
A. Clay Stephenson
Acclaimed Contributor

Re: hpux

Interupt the boot process and boot in single-user mode.

When you see the console prompt, press . BOOT PRI, Interact with ISL? Yes
When you see the prompt, enter hpux -is. That will bring you up in single user mode as root. You can then do passwd and change the root passwd.
Reboot and you are done.
If it ain't broke, I can fix that.
PIYUSH D. PATEL
Honored Contributor

Re: hpux

S.K. Chan
Honored Contributor

Re: hpux

Reboot the system, if you don't have root access you can reset it within GSP mode by doing a CTRL-B and "rs" in GSP prompt. When the system boots up, interrupt it (usually it's say hit any key to stop the bootup). and in ISL mode simply ..
ISL> hpux -is
Once you see the "#" prompt, change your password (root's) and reboot.
MANOJ SRIVASTAVA
Honored Contributor

Re: hpux

Hi Andy


Genrally people create a second user as powerful as root for such emergencies . All you can do is the following :


1. boot in single user mode ie hpux -is at the ISL prompt and change the passwd of root.

2. Incase you have set up as a trusted system , may be do a rlogina nd then change the passwd.

3. lokk at he following :

http://google.yahoo.com/bin/query?p=how+to+boot+in+single+user+mode+in+HPUX&hc=0&hs=0



Manoj Srivastava

Ian Dennison_1
Honored Contributor

Re: hpux

Reboot to single user mode.

If you have less than perfect security,...

Rlogin from another system with root priviledges, then set the root password field in /etc/passwd to null (no password). Login and set the password up.

If your FTP security is poor,...

ftp on as another user, get the /etc/passwd file (ascii), set the password field to null and then upload again.

Can you perform an "echo bob::0:3::/usr/bin/sh >>/etc/passwd" as another user to create an root-priviledge entry?

Have you set your system to allow root logon to the Console even though the root acct is disabled?

Tried the password crackers at the Porting Centre?

http://hpux.cs.utah.edu./hppd/hpux/Sysadmin/crack-5.0/

Share and Enjoy! Ian
Building a dumber user
Tim D Fulford
Honored Contributor

Re: hpux

do not forget the root password........Golden rule......

now you know why!!!!

Tim
-
Victor_5
Trusted Contributor

Re: hpux

There are a lot of posts in this forum talking about this one, it is an usual problem, I suggest you do search, good luck.
Martin Johnson
Honored Contributor

Re: hpux

Most of the solutions require you to have some sort of root access to change the password, but what if you don't?

I had one system I could not log into, and being a production system, I could not simply reboot.

My solution was to use Openview Operations (OVO/VPO/ITO or whatever they are calling it these days). I created an OVO application that allowed I/O, running as root, to do a "passwd".


Marty