Re: Lost root passwd
On Sat, Oct 10, 1998 at 02:09:27PM +1000, Clement wrote:
> Hi,
>
> I lost the root passwd on a machine. Can someone give me a hand to
> re-establish a new one? I lost the procedures somewhere.
Boot with a boot floppy (the rescue disk). Kill the passwd form /etc/passwd
or /etc/shadow if you have shadow on (most likely). Just remove the "trash"
between the first and second double point ":".
Then reboot, your password is the empty password.
Marcus
--
"Rhubarb is no Egyptian god." Debian GNU/Linux finger brinkmd@
Marcus Brinkmann http://www.debian.org master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de for public PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ PGP Key ID 36E7CD09
Reply to: