From owner-freebsd-questions@FreeBSD.ORG Wed Mar 12 15:19:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 860601065675 for ; Wed, 12 Mar 2008 15:19:04 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 4DCF38FC26 for ; Wed, 12 Mar 2008 15:19:04 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m2CFJMp4006538; Wed, 12 Mar 2008 11:19:22 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m2CFJMLP006537; Wed, 12 Mar 2008 11:19:22 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 12 Mar 2008 11:19:22 -0400 From: Jerry McAllister To: Bill Moran Message-ID: <20080312151922.GC6354@gizmo.acns.msu.edu> References: <47D7CE4E.7030508@alshome.be> <20080312095238.35d257d2.wmoran@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080312095238.35d257d2.wmoran@potentialtech.com> User-Agent: Mutt/1.4.2.2i Cc: bsd.luigi@alshome.be, freebsd-questions Subject: Re: Superuser password lost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 15:19:04 -0000 On Wed, Mar 12, 2008 at 09:52:38AM -0400, Bill Moran wrote: > In response to Luigi : > > > Hi all, > > > > Maybe it's a simple question but i'm a newbie lost in my new BSDworld. > > > > I've installed PC-BSD but when I want to install a software, It ask me a > > superuser password. > > I think I lost this password. How can I retrieve this superuser password ? > > This is a PC-BSD-specific question. There is no such thing as "the > superuser" ... it's a colloquialism frequently used by folks to make > things sound cooler (or for some other reason I don't understand) I don't understand this response. Superuser is just another name for the root user which is any user id with a UID of 0. I haven't used PC-BSD flavor, but in general, with BSDs you force them to boot - by killing power if necessary, but a clean shutdown is better (but that usually requires root). Then, while it is booting, make it boot to 'single user' mode. At that point, at the console, you are root. Clean up a little fsck -p mount -u / mount -a swapon -a Then just set a password for root --- and don't forget it. passwd root follow the prompts If PC-BSD doesn't let you boot to single user, then you will need to use an installation CD to get to the point you can write to the passwd and master.passwd files. ////jerry > PC-BSD has several community lists, including a support list. Have > you tried asking there?: > http://www.pcbsd.org/content/view/22/29/ > > -- > Bill Moran > http://www.potentialtech.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"