cancel
Showing results for 
Search instead for 
Did you mean: 

reset root password

SOLVED
Go to solution
Rosli Ahmad
Frequent Advisor

reset root password

Hi,
I need a procedure in reseting root password for DigitalUnix. No one remembers the password. I have never rebooted any DEC server before and wonder how do I get to PROM monitor. I believe we have to issue:
>>>boot -fl s - to get into single user mode and issue :
#/sbin/bcheckrc - to check & mount f/system
#passwd - to reset the root passwd

How do I get to PROM monitor, or the >>> ?

Pls. advise.

Thank you.
-rosli-
6 REPLIES
Evert Jan van Ramselaar
Valued Contributor

Re: reset root password

On older systems, you might want to try hitting Ctrl-P to get on the boot prompt.
Contrary to popular belief, Unix is userfriendly. It just happens to be selective about who it makes friends with.
Evert Jan van Ramselaar
Valued Contributor

Re: reset root password

On older systems, you might want to try hitting Ctrl-P to get on the boot prompt.
Contrary to popular belief, Unix is userfriendly. It just happens to be selective about who it makes friends with.
Ralf Puchner
Honored Contributor

Re: reset root password

If the machine is still running, use the shutdown -h now command (or "halt" after stopping your applications).
You can also press the "halt" button on the machine.

The SRM console (>>>) is the standard for Tru64 machines, so all actions leads to this prompt.
Help() { FirstReadManual(urgently); Go_to_it;; }
Lee Joon Moon
Occasional Advisor
Solution

Re: reset root password

Hello everyone

If I remeber my experience this case,
I could summary 8 steps.

1.Power on

2. >>> boot -fl s

3. #bcheckrc ; This is action to use vi editor

4. #mount -u /

5. vi /etc/passwd

or #mount -a
#passwd


6.#sync

7.#reboot

But if you want to modity as following files,
/etc/passwd, passw.pgg, passwd.dir,
you're supposed to uss vipw

Have a nice day
Ralf Puchner
Honored Contributor

Re: reset root password

maybe the /etc/passwd.dir and .pag file will prevent the passwd command. So you must add the delete step of this files between

vi /etc/passwd and
passwd

Help() { FirstReadManual(urgently); Go_to_it;; }
Robert-Jan Goossens
Honored Contributor

Re: reset root password

Hi,

Just adding some info,

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe5458b82cc91d711abdc0090277a778c,00.html

There is link inside with default actions for most unix versions.

Hope it helps,

Robert-Jan.