Re: recover lost root password
On Sunday 09 March 2003 6:43 am, Hugh Saunders wrote:
> > Now when you log in as root, it will not ask for a password.
>
> excuse my rudeness but isnt that a Bad Thing?
Well, hopefully you'll create a new one. ;-) The idea is to get into
/etc/shadow and delete the hashed root password so you can reset it, because
you lost it, remember? this is how you reset a lost root password without
using a rescue disk.
Another trick is once you gain write access to /etc/shadow is to copy over
your hashed root password from another machine, where you know the root
password.
--
~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
www.tuxcomputing.com
this message brought to you
by Libranet 2.7 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~
Reply to: