[BBLISA] Reset root password on FreeBSD

kurin at delete.org kurin at delete.org
Tue Oct 23 11:48:39 EDT 2012


I haven't *tested* this, but I'm 99% sure it works:

1. Download a copy of the 9.0 install media.
2. Boot to the 'live CD' option.
3. Mount the root fs somewhere.
4. chroot into it.
5. `passwd`

It's *possible* but not likely that the live CD will also want a password,
in which case you can choose 'shell' instead of 'live CD'.

On Tue, Oct 23, 2012 at 11:21:11AM -0400, Mathew Snyder wrote:
> We have a single FreeBSD server installed by a vendor. They have let it sit
> idle for who knows how long before coming around for a full configuration.
> In that time, their default admin account has expired and no one kept track
> of the root password. Now it needs to be reset.
> 
> Unfortunately, they configured single-user mode to require said root
> password. This is quite a hinderance, naturally. I'm not familiar with the
> BSDs. Can someone point me in the direction of instructions for reseting a
> password with boot media or something. Everything I've found online so far
> assumes no password for single-user mode.
> 
> -Mathew
> 
> "When you do things right, people won't be sure you've done anything at
> all." - God; Futurama
> 
> "We'll get along much better once you accept that you're wrong and neither
> am I." - Me

> _______________________________________________
> bblisa mailing list
> bblisa at bblisa.org
> http://www.bblisa.org/mailman/listinfo/bblisa




More information about the bblisa mailing list