How to Reset a Forgotten Root Password

Konrad Heuer kheuer2 at gwdg.de
Tue Apr 15 04:45:40 PDT 2003


On Tue, 15 Apr 2003, Hilmi Hilmiev wrote:

> I have  FreeBSD box with  forgotten root password. How can I reset this
> password?

Reboot your system (e.g., by pressing Ctrl-Alt-Del). Interrupt the boot
countdown by pressing the space bar and enter
  boot -s
to boot into single-user mode. Mount your file systems by
  mount -a -t ufs
and set a new password:
  passwd root

Regards

Konrad Heuer (kheuer2 at gwdg.de)  ____            ___  _______
GWDG                           / __/______ ___ / _ )/ __/ _ \
Am Fassberg                   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen             /_/ /_/  \__/\__/____/___/____/
Germany



More information about the freebsd-questions mailing list