Shadow password file
Craig White
plug-devel@lists.PLUG.phoenix.az.us
Wed Dec 3 09:46:02 2003
On Wed, 2003-12-03 at 04:50, Vaughn Treude wrote:
> Hello all:
>
> I have a machine on which I have lost the root password. (Doh!) I was
> looking for a workaround to reinstallation. I was thinking I could boot it
> with Knoppix and replace the shadow password file. As a test, I looked at
> the shadow password files on two different machines that happend to be the
> same distro and have the same root password. The encrypted entries for the
> root password were different! I can understand this would be a security
> feature, but does anybody know of a wayI could get my workaround scheme to
> work?
----
devel-list probably isn't the place for this...
boot linux 1 - if grub, simply add 'linux 1' to the end of the line that
includes the root=/
this will boot in single user mode - no password needed
then type passwd root
and enter the new password
then init 3 (or 5) and you are home
Craig