How to Reset a Forgotten Root Password

Peter Elsner peter at
Tue Apr 15 06:56:27 PDT 2003

 From the FreeBSD FAQ page:

10.14. I have forgotten the root password! What do I do?

Do not Panic! Simply restart the system, type boot -s at the Boot: prompt 
(just -s for FreeBSD releases before 3.2) to enter Single User mode. At the 
question about the shell to use, hit ENTER. You will be dropped to a # 
prompt. Enter mount -u / to remount your root filesystem read/write, then 
run mount -a to remount all the filesystems. Run passwd root to change the 
root password then run 
<>exit(1) to 
continue booting.


At 01:20 PM 4/15/2003 +0200, you wrote:
>I have  FreeBSD box with  forgotten root password. How can I reset this 
>freebsd-questions at mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

Peter Elsner <peter at>
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax

I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say "Daddy, where
were you when they took freedom of the press away from the Internet?"
-- Mike Godwin

Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.

Standard $500/message proofreading fee applies for UCE.

More information about the freebsd-questions mailing list