> -----Original Message----- > From: Lisi Reisz [mailto:lisi.re...@gmail.com] > Sent: Friday, March 20, 2009 3:34 AM > To: debian-user@lists.debian.org > Subject: Re: Technical Inquiry > > On Friday 20 March 2009 09:01:17 Sudev Barar wrote: > > 2009/3/20 Jeffrey Cao <jcao.li...@gmail.com>: > > > Boot into single user mode, and you are the root. > > > Then, you can change root password. > > > > Ah..banging my head why I did not think of this... > > Because it doesn't work in Etch or Lenny? Don't know about > other versions of Debian. I have certainly used distros > where it did work. >
Some time ago, when lenny was 'testing', I forgot my laptop's root password. This is what I did: 1. Choose 'single user' in grub menu. 2. Select your kernel and press e to edit kernel line before boot. 3. Add 'init=/bin/sh rw' (or something like that) 4. Press b to boot (or enter, don't remember) and change root pass... Hope it helps.. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org