On Friday 20 March 2009 13:50:27 Jeffrey Cao wrote:
> On 2009-03-20, Lisi Reisz <lisi.re...@gmail.com> wrote:
> > 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.
> >
> > If you try to boot into single user mode it demands the root password.
> > Otherwise it won't let you in.
> >
> > Lisi
>
> It does not demands the root password. It just request you to give root
> a new password, which is the chance you could change root password without
> knowing the old one.

We must have different installations.  I have used Etch and then Lenny for 
some time and I cannot boot into single user without giving it the correct 
(already existing) root password.

The method suggested by Doug would still not give you write access, which you 
would need in order to change root's password.

When I need to change a root password on Etch or Lenny because I do not know 
the root password, I chroot from a live CD which does allow root access.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to