Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* If I forget root password...
@ 1997-07-20  4:00 Vincent Huang
  1997-07-20  4:00 ` Arndt Brenschede
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Vincent Huang @ 1997-07-20  4:00 UTC (permalink / raw)



I want to ask a question about 

"How can I rebuilt my root password  If  I  forgot it  in my digital server
300 machine 
with digital unix 4.0B?"

thanks...





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: If I forget root password...
  1997-07-20  4:00 If I forget root password Vincent Huang
@ 1997-07-20  4:00 ` Arndt Brenschede
  1997-08-01  4:00   ` Vikas Sontakke
  1997-07-25  4:00 ` Erik Persson
  1997-08-09  4:00 ` Marco Benton
  2 siblings, 1 reply; 7+ messages in thread
From: Arndt Brenschede @ 1997-07-20  4:00 UTC (permalink / raw)



In article <01bc94d0$baf72a00$3da65fa8@ms3.hinet.net>, Vincent Huang wrote:

>"How can I rebuilt my root password  If  I  forgot it  in my digital server
>300 machine with digital unix 4.0B?"

What always works is to mount the disk on another machine and edit the
passwd-file.....

What could work if not protected by a hardware password is to boot
in single-user mode.

================================================================
   Arndt Brenschede, Dipl.-Phys.
   II. Physikalisches Institut der Uni Giessen
   Heinrich-Buff-Ring 16, 35392 Giessen (Germany)
   Tel: 0641-99-33221
   Fax: 0641-74390
   Mail: arndt@piggy.physik.uni-giessen.de
================================================================
 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: If I forget root password...
  1997-07-20  4:00 If I forget root password Vincent Huang
  1997-07-20  4:00 ` Arndt Brenschede
@ 1997-07-25  4:00 ` Erik Persson
  1997-08-09  4:00 ` Marco Benton
  2 siblings, 0 replies; 7+ messages in thread
From: Erik Persson @ 1997-07-25  4:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 783 bytes --]


"Vincent Huang" <vincent9@ms3.hinet.net> writes:

> 
> I want to ask a question about 
> 
> "How can I rebuilt my root password  If  I  forgot it  in my digital server
> 300 machine 
> with digital unix 4.0B?"
> 
> thanks...
> 
> 

Halt the machine:

* Turn on power
* Wait for "CPU 0 booting" message
* Hit Ctrl-C until you get a ">>>" prompt
* Enter 'boot -flags s'
* Wait. After a while you get a superuser prompt "#".
* Run '/sbin/bcheckrc' and '/sbin/update'
* Change root password
* Logout (the machine will continue the boot process).
* You're done

/Erik

-- 
Erik Persson, System Manager            e-mail: erik@ikp.liu.se
Dept. of Mech. Engineering              Voice: +46 13 28 2464
Division of Solid Mechanics		Fax:   +46 13 21 2717
University of Link�ping, Sweden




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: If I forget root password...
  1997-07-20  4:00 ` Arndt Brenschede
@ 1997-08-01  4:00   ` Vikas Sontakke
  0 siblings, 0 replies; 7+ messages in thread
From: Vikas Sontakke @ 1997-08-01  4:00 UTC (permalink / raw)



Arndt Brenschede (arndt@marvin.physik.uni-giessen.de) wrote:
: In article <01bc94d0$baf72a00$3da65fa8@ms3.hinet.net>, Vincent Huang wrote:

: >"How can I rebuilt my root password  If  I  forgot it  in my digital server
: >300 machine with digital unix 4.0B?"

: What always works is to mount the disk on another machine and edit the
: passwd-file.....

: What could work if not protected by a hardware password is to boot
: in single-user mode.

: ================================================================
:    Arndt Brenschede, Dipl.-Phys.
:    II. Physikalisches Institut der Uni Giessen
:    Heinrich-Buff-Ring 16, 35392 Giessen (Germany)
:    Tel: 0641-99-33221
:    Fax: 0641-74390
:    Mail: arndt@piggy.physik.uni-giessen.de
: ================================================================
:  

What's the equivalent method on Windows NT?  My NT box has forgotten its
Administrator password.

thanks
--
Vikas Sontakke				sontakke@helix.enet.dec.com




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: If I forget root password...
  1997-07-20  4:00 If I forget root password Vincent Huang
  1997-07-20  4:00 ` Arndt Brenschede
  1997-07-25  4:00 ` Erik Persson
@ 1997-08-09  4:00 ` Marco Benton
  1997-08-11  4:00   ` Graham Jones
  2 siblings, 1 reply; 7+ messages in thread
From: Marco Benton @ 1997-08-09  4:00 UTC (permalink / raw)



boot under single user mode then edit passwd file (blank out password or
add another 0 userid).  i did this under ultrix, but not OSF.  it might
work.

-- 

_____________________________________________________________

Marco Benton
E-Mail: marco@os2rulez.shr.dec.com
        mbenton@ibm.net

...somewhere at Digital: Look! Contractor scum! Finish him!

_____________________________________________________________


Vincent Huang <vincent9@ms3.hinet.net> wrote in article
<01bc94d0$baf72a00$3da65fa8@ms3.hinet.net>...
> I want to ask a question about 
> 
> "How can I rebuilt my root password  If  I  forgot it  in my digital
server
> 300 machine 
> with digital unix 4.0B?"
> 
> thanks...
> 
> 
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: If I forget root password...
  1997-08-09  4:00 ` Marco Benton
@ 1997-08-11  4:00   ` Graham Jones
  1997-08-13  4:00     ` Jeremy Anderson
  0 siblings, 1 reply; 7+ messages in thread
From: Graham Jones @ 1997-08-11  4:00 UTC (permalink / raw)



Or in single user mode you could just type: passwd root!

Marco Benton <marco@os2rulez.shr.dec.com> wrote in article
<01bca467$d484f000$2e108810@butthead>...
> boot under single user mode then edit passwd file (blank out password or
> add another 0 userid).  i did this under ultrix, but not OSF.  it might
> work.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: If I forget root password...
  1997-08-11  4:00   ` Graham Jones
@ 1997-08-13  4:00     ` Jeremy Anderson
  0 siblings, 0 replies; 7+ messages in thread
From: Jeremy Anderson @ 1997-08-13  4:00 UTC (permalink / raw)



In article <01bca642$747d43b0$dd1fdec2@graham>, "Graham Jones" <graham@xliteyear.demon.co.uk> wrote:
>Or in single user mode you could just type: passwd root!

and if it's not in single-user mode now, and no one is on the system, just 
power-cycle the cursed thing, and use this command at the SRM prompt:

boot -flags s

That'll bring you up to single-user mode, no questions asked.

And people wonder why data centers have locked doors.

Jeremy Anderson
patowic@jurai.net



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1997-08-13  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-20  4:00 If I forget root password Vincent Huang
1997-07-20  4:00 ` Arndt Brenschede
1997-08-01  4:00   ` Vikas Sontakke
1997-07-25  4:00 ` Erik Persson
1997-08-09  4:00 ` Marco Benton
1997-08-11  4:00   ` Graham Jones
1997-08-13  4:00     ` Jeremy Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox