Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 2004 16:22:22 +0200
From:      Andrew Lewis <al@xms.co.za>
To:        freebsd-questions@freebsd.org
Subject:   Breaking password on FreeBSD 5.2.1 box
Message-ID:  <1101392541.29769.409.camel@localhost.localdomain>

next in thread | raw e-mail | index | archive | help
Hi list,

We have a client running a fBSD 5.2.1 box that needed its root password
hacked.

I couldn't boot into single user mode w/o the root password, so I
installed fBSD 5.3 on another machine, and slaved the drive from the
5.2.1 box in mine.

Then I tried editting its master.passwd file and removing the root
password: didn't work.

So then I tried setting it to the hash of a password I knew: didn't
work.

So then I editted /etc/ttys and set 'secure', booted up in single user
mode, ran 'passwd' and it came back with some failure in pam_chauthtok -
I forget the exact message, but it wasn't any more specific than what
I've described.

What to do now? Did I do something very wrong? :( Please CC your
response to me (non-subscriber)...

Thanks...

Best,
-AL.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1101392541.29769.409.camel>