[sf-lug] recovery from loss of root password

Deeþan Chakravarthy codeshepherd at gmail.com
Wed Sep 26 01:12:07 PDT 2007


Kristian Erik Hermansen wrote:
> On 9/18/07, Alex Kleider <a_kleider at yahoo.com> wrote:
>   
>> Recovering from loss of root password:
>>
>> There are a couple of documented methods of recovering when a root
>> password is forgotten:
>> 1. if boot loader is lilo, the boot: Linux init=/bin/sh option is
>> supposed to provide a shell with root privileges and further details
>> are documented in the Debian tips chapter (8) of the Debian Reference
>> Unfortunately this is of little use since Debian now uses GRUB, not
>> LILO.
>> Preliminary question: is there an equivalent GRUB boot option?
>>     
>
> As far as I know, init=/bin/sh is just an option being passed to the
> kernel, so this works exactly the same way using GRUB.  Correct me if
> I am wrong here.  I haven't used lilo since probably 2001, heh...
>
> Another more unusual way to recover the root credentials is to log on
> as a normal user and then elevate to id=0 via a localized kernel
>   

Hi Kristian,
  I'm not aware of localized kernel exploit. I did google on "localized 
kernel exploit" , it took me to your message :P
Can you explain more about the same ?

> exploit.  Then just reset your passwd...
>   


-- 
Deepan 
http://codeshepherd.com/
http://codeshepherd.blogspot.com/
http://sudoku-solver.net/





More information about the sf-lug mailing list