Re: Lost root password!!
On Wed, Apr 24, 2002 at 01:23:02AM +0200, Luis Gómez Miralles wrote:
> Hi,
>
> Simple. Do the init=/bin/sh trick. When you're booted, mount / -o
> remount,rw
> Then edit /etc/passwd and add this to /etc/passwd:
> root2::0:0:root:/root:/bin/bash
>
> This should do the trick :)
If you want more detailed info take a look at the Securing
Debian Manual, section 11.1.9
http://www.debian.org/doc/manuals/securing-debian-howto/ch11.en.html#s11.1
Hope that's useful.
Javi
--
To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: