Date: Fri, 8 Nov 2002 20:10:24 -0500 (EST) From: Jerry McAllister <jerrymc@clunix.cl.msu.edu> To: pete@milneweb.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Root password Message-ID: <200211090110.gA91AOm21150@clunix.cl.msu.edu> In-Reply-To: <49163385296.20021108170320@milneweb.com> from "Pete Milne" at Nov 08, 2002 05:03:20 PM
next in thread | previous in thread | raw e-mail | index | archive | help
>
> Somehow I managed to load FBSD and not have a root password. How do I
> setup a root password from a command line?
>
If you really created root with no password, then you can just log in
as root and don't have to enter a password. Then, when you get logged
in as root, type 'passwd' and follow the prompts.
If, somehow there really is a password, but you don't know it you will
have to boot in to single user - hit the space bar during the coutdown.
Then do:
boot -s
-- wait for the boot --
fsck -a
mount -u /
mount -a
swapon -a
passwd root
follow the prompts
////jerry
> --
>
> Pete
>
> 5:02:45 PM
>
>
> Ask about eScan Content-Security
> and Anti-Virus Software.
>
> "We will meet ALL of your anti-virus needs."
>
> www.milneweb.com
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211090110.gA91AOm21150>
