Re: forgot root password AOL

2002-02-19 Thread Michel Loos
Em Ter, 2002-02-19 às 00:43, Karsten M. Self escreveu:
> on Mon, Feb 18, 2002 at 09:45:37PM -0300, Michel Loos ([EMAIL PROTECTED]) 
> wrote:
> > Em Seg, 2002-02-18 às 20:28, Paul 'Baloo' Johnson escreveu:
> 
> > > Remove root's password from /etc/shadow in text editor of choice.
> 
> > This did not work last time I tried (2.4.17),
> 
> This indicates an error in your method.
> 
> Creating a null second field of /etc/shadow removes the user's password.
> 

It sure does, but it seems I have some configuration somewhere that
does not allow users without a password: meaning nothing done in order
to
access the system.

Michel.

> Peace.
> 
> -- 
> Karsten M. Self http://kmself.home.netcom.com/
>  What part of "Gestalt" don't you understand?   There is no K5 cabal
>   http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
> 




Re: forgot root password AOL

2002-02-18 Thread Karsten M. Self
on Mon, Feb 18, 2002 at 09:45:37PM -0300, Michel Loos ([EMAIL PROTECTED]) wrote:
> Em Seg, 2002-02-18 às 20:28, Paul 'Baloo' Johnson escreveu:

> > Remove root's password from /etc/shadow in text editor of choice.

> This did not work last time I tried (2.4.17),

This indicates an error in your method.

Creating a null second field of /etc/shadow removes the user's password.

Peace.

-- 
Karsten M. Self http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?   There is no K5 cabal
  http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org



pgp0eMN5wXT7t.pgp
Description: PGP signature


Re: forgot root password AOL

2002-02-18 Thread Paul 'Baloo' Johnson
On 18 Feb 2002, Michel Loos wrote:

> This did not work last time I tried (2.4.17), so I did the following at
> that stage: copied my normal user line of shadow to the first line and
> changed the username to root, deleted the old root line.
>
> This way you can login as root with your normal user password and of
> course change it thereafter.

Ooh, that's good to know.  Thanks for the update!

-- 
Baloo



Re: forgot root password AOL

2002-02-18 Thread Michel Loos
Em Seg, 2002-02-18 às 20:28, Paul 'Baloo' Johnson escreveu:
> On Mon, 18 Feb 2002 [EMAIL PROTECTED] wrote:
> 
> > Please advise
> 
> When you boot, it'll say LILO for a second before it says Loading
> Linux..
> 
> Hit CTRL when it says LILO.  You'll get LILO boot:
> 
> Type in linux init=/bin/bash
> 
> Remove root's password from /etc/shadow in text editor of choice.
> 

This did not work last time I tried (2.4.17), so I did the following at
that stage: copied my normal user line of shadow to the first line and
changed the username to root, deleted the old root line.

This way you can login as root with your normal user password and of
course change it thereafter.

Michel.

> You should now be able to run passwd and set your password again.
> 
> -- 
> Baloo
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 




Re: forgot root password AOL

2002-02-18 Thread Paul 'Baloo' Johnson
On Mon, 18 Feb 2002 [EMAIL PROTECTED] wrote:

> Please advise

When you boot, it'll say LILO for a second before it says Loading
Linux..

Hit CTRL when it says LILO.  You'll get LILO boot:

Type in linux init=/bin/bash

Remove root's password from /etc/shadow in text editor of choice.

You should now be able to run passwd and set your password again.

-- 
Baloo



forgot root password AOL

2002-02-18 Thread CAPTFRED

Please advise