Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I accidently did a echo "" > /etc/rc.conf on my box and I locked my self out completely stupidly tring to get the rc.conf back then rebooted making my self locked out.

share|improve this question

You've got two options:

  1. Try booting to single user mode. This claims to tell you how, but I'm not sure how much of that behavior depends on rc.conf, so you may have to...

  2. Boot a rescue CD. Ideally a freeBSD one that you can copy the rc.conf off of and onto your machine.

share|improve this answer

Single user mode doesn't use rc.conf at all.

You can get into SU mode by rebooting and waiting until the loader comes up - that shows you the full screen ASCII display with a count down timer - and press 4.

If the bold white kernel text appears before you press 4 you missed it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.