From owner-freebsd-questions Fri Nov 8 17:12: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A0BF37B401 for ; Fri, 8 Nov 2002 17:12:07 -0800 (PST) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA78143E88 for ; Fri, 8 Nov 2002 17:12:06 -0800 (PST) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id gA91AOm21150; Fri, 8 Nov 2002 20:10:24 -0500 (EST) From: Jerry McAllister Message-Id: <200211090110.gA91AOm21150@clunix.cl.msu.edu> Subject: Re: Root password To: pete@milneweb.com Date: Fri, 8 Nov 2002 20:10:24 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <49163385296.20021108170320@milneweb.com> from "Pete Milne" at Nov 08, 2002 05:03:20 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > 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