Re: Root password
pollywog@shadypond.com (Pollywog) writes:
> On 24-Sep-99 Andrei Ivanov wrote:
> > Here is how you do it:
> > reboot and at lilo prompt type
> > linux init=/bin/sh
> >
> > This will rop you into shell. In there,
> > mount -n -o remount rw
> >
> > Then edit the /etc/passwd file and blank out root password field. (The
> > second field). Or do that to shadow file, if you have one.
> > Then
> > sync
> > and reboot. You should be able to get in without password so you can
> > change it then
> > Andrew
>
> I thought it was even easier than that, using the boot disk and a command
> I cannot remember but which has "boot root" in it.
>
> --
> Andrew
Depends on what you call easier. One requires a boot disk, the
other does not. Both require editing the passwd file. Neither
is hard.
--
*********************** Running Debian Linux ***********************
* For God so loved the world that He gave his only begotten Son, *
* that whoever believes in Him should not perish... John 3:16 *
* W. Paul Mills * Topeka, Kansas, U.S.A. *
* EMAIL= Paul@Mills-USA.com * WWW= http://Mills-USA.com/ *
* Bill, I was there several years ago, why would I want to go back? *
************* pgp public key on keyservers everywhere? *************/
--
Reply to: