Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2009 13:51:24 +0200
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Cc:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, Deji Ogunsanya <ayodejee@yahoo.com>
Subject:   Re: Forgotten password
Message-ID:  <200906041351.25170.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <alpine.BSF.2.00.0906041331410.32705@wojtek.tensor.gdynia.pl>
References:  <918477.18876.qm@web110706.mail.gq1.yahoo.com> <alpine.BSF.2.00.0906041331410.32705@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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.


-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906041351.25170.mel.flynn%2Bfbsd.questions>