Forget Root Password

Andras Kende andras at
Tue Jan 10 22:02:46 PST 2006

-----Original Message-----
From: owner-freebsd-questions at
[mailto:owner-freebsd-questions at] On Behalf Of mamaj m
Sent: Sunday, January 08, 2006 2:16 PM
To: freebsd-questions at
Subject: Forget Root Password


I forget the root password what can i do , so i cant log in to freebsd


Don't just search. Find. Check out the new MSN Search!

freebsd-questions at mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"


during boot up there's a prompt which says to hit enter to boot /kernel or
something like that. It times out after 10 seconds (default). Hit any other
key than enter and type "boot-s" to boot in single user mode. You should
then get a shell prompt where you run these commands: 

# fsck -p 
# mount -a -t ufs 
# swapon -a 
# passwd -l 
# exit

Best regards,

Andras Kende

More information about the freebsd-questions mailing list