Operating System - HP-UX
1829115 Members
16977 Online
109986 Solutions
New Discussion

University Course HP-UX setup help

 
Thomas Lloyd
Occasional Advisor

University Course HP-UX setup help

We are using E-class for some training @ the University of the West of England, we currently have 10.20 running on the machine when we have booted it up and we do not know the root password. We are struggling to get vi running as the paths are not set. We are trying to edit the password file can anyone give us some help in where to get started for this box. Some clear instructions would be nice. We don't currently have access to 10.20 software so we really don't want to do a fresh install.

Cheers

Tom
6 REPLIES 6
Robert-Jan Goossens
Honored Contributor

Re: University Course HP-UX setup help

Hi To,

# mount -a
# passwd root
or
# vi /etc/passwd

Kind regards,
Robert-Jna
Pete Randall
Outstanding Contributor

Re: University Course HP-UX setup help

Tom,

The way to reset the root passwd, is to boot in single user mode:

Boot the machine
Strike any key at the "10 second" prompt to interrupt
Y to interact with ISL
"hpux -is" at the ISL prompt

When the machine comes up, you will be logged in as root in single user mode. Use the "passwd" command to reset root's password. Then reboot the machine normally to come back up in multi-user mode: "shutdown -r -y 0"


Pete

Pete
Fabio Ettore
Honored Contributor

Re: University Course HP-UX setup help

Hi,

you can try Robert's suggestion.
If it doesn't work I suggest you to boot your system in single user mode and change root's password.

Good luck.

Best regards,
Ettore
WISH? IMPROVEMENT!
Robert-Jan Goossens
Honored Contributor

Re: University Course HP-UX setup help

Hi Tom

Pete is right but I believe you already are in single user mode . (:-)

Kind regards,
Robert-Jan
Thomas Lloyd
Occasional Advisor

Re: University Course HP-UX setup help

Cheers Guys, we have got in. We are contuning to work on this for the next three days so i might be back for more help. Plus i got a few point to award for the good answers.
Steve Steel
Honored Contributor

Re: University Course HP-UX setup help

Hi

Do not forget

http://docs.hp.com/

It is all there


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)