On Sun, May 13, 2001 at 10:55:59PM -0400, Michael P. Soulier wrote: > On Mon, May 14, 2001 at 02:36:57PM +1200, Shirmay Li wrote: > > Hi, We use Debian Gnu/Linux 2.1. The root password is lost(yes we are > > kicking ourselves). I've tried to boot into the single user mode by typing > > linux single at the lilo boot: to recover the password. But the method does > > not work. Could you tell the proper way please? > > Try adding "init=/bin/bash" at the boot prompt. Then you should be able to > mount the root filesystem and get at the passwd file. > I do not know for slink but for potato, you need to remount root, too. So after above,
init-2.03# mount -n -t remount,rw / init-2.03# mount -avt nonfs,noproc,nosmbfs See http://www.aokiconsulting.com/quick/ch3.html#s-crackroot for details and more options. -- ~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ + Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D + + My debian quick-reference, http://www.aokiconsulting.com/quick/ +