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

RE: howto reset root password with setup disk (or some other way)



On Sun, 23 Jul 2000, Corry Opdenakker wrote:

> yes, but there is one additional problem: Currently I'm not logged on as
> root.

If you can boot from install CD, there should be a shell session
on some virtual console ( probably second ) with root's privileges.
You can mount your root device under /mnt or elsewhere and follow
the instructions given by Mark.

Lukas

------------------------------------------------------------
        Lukasz Walewski
        Centrum Onkologii Instytut
        ljw@delta.coi.waw.pl




> 
> -----Original Message-----
> From: broonie@sirena.org.uk [mailto:broonie@sirena.org.uk]On Behalf Of
> Mark Brown
> Sent: Sunday, July 23, 2000 13:38
> To: 'debian-user@lists.debian.org'
> Subject: Re: howto reset root password with setup disk (or some other
> way)
> 
> 
> On Sun, Jul 23, 2000 at 01:13:15PM +0200, Corry Opdenakker wrote:
> 
> > does anyone know how I can reset the password for root?
> > A while a go someone told me that this is possible by using the
> install-boot
> > disc or cd's.
> 
> Delete the second field from root's entry in /etc/passwd (/etc/shadow if 
> you're using shadow passwords - you'll have an "x" in the passwd file if
> you are).  This will remove root's password, and you can reset it using
> passwd.  
> 
> A safer thing to do is to generate a new crypted password and directly 
> replace the password, but unless you're on-line when you do this I
> wouldn't worry about it.
> 
> -- 
> Mark Brown  mailto:broonie@tardis.ed.ac.uk   (Trying to avoid grumpiness)
>             http://www.tardis.ed.ac.uk/~broonie/
> EUFS        http://www.eusa.ed.ac.uk/societies/filmsoc/
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 



Reply to: