Re: Forgotten root password HELP
On Tue, 31 Aug 1999, Patrick Kirk wrote:
2 things you can do:
pop a debian boot disk into the floppy
wait untill you get to te color selction screen
alt-2, enter
now you have a console
mount your linux partition (whichever one has etc on it)
vi /etc/passwd
delete what's in teh second feild
so it looks like root::0:0:rot:/root:/bin/bash (or something like that)
then reboot your system (take out teh boot disk)
log in as root, for password hit eneter
and chaneg your passsword quick!
I think also getting teh lilo prompt (hit shift when lilo comes up) and
typing [name] s.
will get you inot a root console.
--dave
> Hi all,
>
> My root password on my home box was compromised a couple of weeks ago as I
> telnetted in from work and I had to change it in a hurry. I did so, changed
> it again to make sure there was no chance the person who "eyeballed" me
> entering the old password had been able to use it and then devoted myself to
> making my displeasure clear.
>
> That was two weeks ago. Last night I realised I have NO idea what the root
> password is now. I'm fairly sure I remember the first three letters but
> that's it.
>
> Can I recover this installation?
>
> Help please.
>
> Patrick
>
>
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
>
>
Reply to: