[BBLISA] Reset root password on FreeBSD

Morse, Richard E.MGH REMORSE at PARTNERS.ORG
Tue Oct 23 13:53:01 EDT 2012


You might also try using the 'toor' account -- this usually exists on FreeBSD, although I forget if it needs a password -- but if the vendor isn't paying attention they might have left this account unrestricted.

Ricky

On Oct 23, 2012, at 11:50 AM, Mathew Snyder wrote:

> Thanks guys. I'm downloading an ISO right now.
> 
> -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
> 
> 
> 
> On Tue, Oct 23, 2012 at 11:48 AM, <kurin at delete.org> wrote:
> 
>> 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
>> 
>> 
>> 
> _______________________________________________
> bblisa mailing list
> bblisa at bblisa.org
> http://www.bblisa.org/mailman/listinfo/bblisa



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.



More information about the bblisa mailing list