[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [K12OSN] Lost root password



On Fri, 28 Jun 2002, James wrote:

> Did you mean lilo (boot loader) instead of sudo?
> 
> Other than that, Jim was correct.  Try to get into single user mode and
> reset the password.

No -- he was correct, as he was probably thinking:

$] sudo su -
Password : *********
#] passwd
New Password: ...

and thus to extricate from that unhappy state of having no 
idea of the present root password.

Keyed SSH access from another host would also work; booting in 
single user mode from a recovery floppy would; booting from 
a maintenance partition and manually mounting clearing the 
production partition password would work.

The list of recovery approaches is almost endless -- Jim is
also a 'big iron Unix' admin who has written and presented at
conferences on the topic of careful professional systems
administration.  The sudo approach is a two line, no
interruption of service method.

-- Russ Herrold





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]