From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 10:21:53 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 5D1F31065670 for ; Mon, 27 Oct 2008 10:21:53 +0000 (UTC) (envelope-from andrewd@webzone.net.au) Received: from smtp.webzone.net.au (smtp.webzone.net.au [210.8.36.14]) by mx1.freebsd.org (Postfix) with ESMTP id 1A9868FC25 for ; Mon, 27 Oct 2008 10:21:53 +0000 (UTC) (envelope-from andrewd@webzone.net.au) Received: from ppp121-45-200-9.lns10.adl2.internode.on.net ([121.45.200.9] helo=[192.168.202.99]) by smtp.webzone.net.au with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KuPEL-0002rR-DU; Mon, 27 Oct 2008 20:51:50 +1030 Message-ID: <4905961A.20005@webzone.net.au> Date: Mon, 27 Oct 2008 20:51:14 +1030 From: Andrew D User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Steven Susbauer References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-AUTH-WEBZONE: andrewd@webzone.net.au successfully authed as username:andrewd Cc: freebsd-questions@freebsd.org, mlopezqc@gmail.com Subject: Re: How to restore a lost root password... 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: Mon, 27 Oct 2008 10:21:53 -0000 G'Day, Steven Susbauer wrote: > Mauricio López wrote: >> On Sun, Oct 26, 2008 at 4:08 PM, Daniel Bye --snip-- >> >> As far as I know, from my previous Linux experience, you just need a >> LiveCD in order to boot the PC, mount the / partition, edit >> /etc/passwd or /etc/shadow and change the hash for one that correspond >> to one we know. Perhaps you can make it in every UNIX. >> > This is similar to what Matthew Seaman was mentioning. > > I am curious though, might it be possible to boot from something like > Freesbie (or a fixit disc), mount the drive, chroot to the actual > install and run passwd like normal to change the password? Does root on yep. > FreeBSD ask to verify the old password when trying to change its own? > nope :) HTH cya Andrew > > _______________________________________________ > 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"