Forgotten password

Mel Flynn mel.flynn+fbsd.questions at
Thu Jun 4 11:51:34 UTC 2009

On Thursday 04 June 2009 13:32:27 Wojciech Puchar wrote:
> > Good day am a new user of of freebsd Os and i forgot my login password, i
> > will need an assitance on how to get it changed.
> boot, press 4 at boot loader prompt to get single user.
> after seeing a guestion what to run as a shell (/bin/sh as default) press
> enter.
> then

fsck -p
/etc/rc.d/mountcritlocal start
> /sbin/mount /
^^^ strike that
> /usr/bin/passwd
^^^ won't work if /usr seperate partition and isn't mounted
^^^ will work on root user, which OP doesn't state he lost the password for.
/usr/bin/passwd -l username
to change for a specific user.


More information about the freebsd-questions mailing list