[TAG] Please help me! I lost my root password

Peter Knaggs peter.knaggs at gmail.com
Fri Nov 18 19:48:46 MSK 2005


On 11/17/05, ANDREI <me190k at yahoo.com> wrote:
> Thank you very much,
>
>  but unfortunately I have ... LILO 22.6.1 bootloader , not GRUB.

Hi Andrei,

   The Archives of Linux Gazette are always
   a good place to look to answer questions :)
   e.g. How to Reset forgotten Root passwords
     By Suramya Tomar
   http://linuxgazette.net/107/tomar.html

   The author suggests using at the "boot:" prompt
   in lilo the following:
      linux init=/bin/bash

   Within /etc/lilo.conf I think the syntax to
   cause the same effect would be to add a line with
      append="init=/bin/bash"
   of course, make a separate kernel entry in
   /etc/lilo.conf, don't add it to your default
   entry.

   Still, start with trying
     boot: linux init=/bin/bash
   as Suramya suggests.

Cheers,
Peter.





More information about the TAG mailing list