[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I accidentally deleted the root superuser How to reinstall



On Thu, Oct 10, 2002 at 10:07:25AM -0500, John Foster wrote:
> On Wed, 2002-10-09 at 17:29, Vineet Kumar wrote:
> >
> > Seriously, if you have another means of booting, mounting, and editing
> > the password file (which you demonstrated that you do) just do it again
> > and add the following line back in:
> > 
> > root:x:0:0:root:/root:/bin/bash
> > 
> > If you don't know the root password, this is also a good time to reset
> > it, by blanking it out in /etc/shadow.
> > 
> > good times,
> > Vineet
> ---------------------------------------------------
> Tried every suggestion sent to no avail. Anyone else have any ideas?
> Thanks for all of your replies. One thing I did notice is that I can not
> log in as any user including root and I get the same error message;
> can't log in to tty1. I may be following the wrong trail here. Keep In
> mind that I am on somewhat of an adventure with this project anyway as I
> have a running system on another disk in the same machine (evidence this
> reply :-) so any ideas are welcome. BTW I have NEVER seen this
> installation problem before & it may be related to the "Internet"
> installation.

Do you have /etc/securetty ? 

It should contain your console devices (without /dev)
mine reads :

<<BEGIN>>
console

# Standard consoles
tty1
tty2
tty3


# Same as above, but these only occur with devfs devices
vc/1
vc/2
vc/3


<<END>>
They go on to tty12, 

Frank

> -- 
> John Foster
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: