Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 2004 04:05:49 -0600 (CST)
From:      klr@6s-gaming.com
To:        freebsd-questions@freebsd.org
Cc:        Andrew Lewis <al@xms.co.za>
Subject:   Re: Breaking password on FreeBSD 5.2.1 box
Message-ID:  <54393.81.84.175.77.1101549949.squirrel@81.84.175.77>
In-Reply-To: <1101392541.29769.409.camel@localhost.localdomain>
References:  <1101392541.29769.409.camel@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
You could always insert a 5.2.1 CD, do a 'Configure' (menu) on
/stand/sysinstall, select change root passwd from the menu.

> 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.
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>




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