From owner-freebsd-questions@FreeBSD.ORG Wed Jun 4 05:49:39 2003 Return-Path: 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 3179837B401 for ; Wed, 4 Jun 2003 05:49:39 -0700 (PDT) Received: from hotmail.com (bay8-f55.bay8.hotmail.com [64.4.27.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6D2243F75 for ; Wed, 4 Jun 2003 05:49:38 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 4 Jun 2003 05:47:33 -0700 Received: from 203.199.109.162 by by8fd.bay8.hotmail.msn.com with HTTP; Wed, 04 Jun 2003 12:47:31 GMT X-Originating-IP: [203.199.109.162] X-Originating-Email: [unixtools@hotmail.com] From: "Sunil Sunder Raj" To: shellfic1@cs-net.cd Date: Wed, 04 Jun 2003 18:17:31 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 04 Jun 2003 12:47:33.0014 (UTC) FILETIME=[77850360:01C32A97] cc: freebsd-questions@FreeBSD.ORG Subject: Re: How can I recover the password for root in FreeBSD 4.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 12:49:39 -0000 Hi, CHANGE ROOT PASSWORD ===================== STEPS ===== As the os(FREEBSD) is starting it will display the following message: Hit [Enter] to boot immediately, or any other key for command prompt. Booting [kernel ] in 10 seconds... You should now ress the space bar, and you will see the following message: Type '?' for a list of commands, or 'help' for more detailed help. ok now type boot -s and press the enter key to start FreeBSD in single user mode. After the system boots, you should see the statement: Enter fill pathname of shell or RETURN for /bin/sh: Press the enter key and you will have a # prompt. [Mount the filesystems] At the command prompt. issue the mount command. This command will mount all the filesystems listed in your /etc/fstab file. # mount -t ufs -a [Change the root password] Issue the passwd command and you will be prompted to enter a new password for the root account. #passwd New password: passwd: updating the database... passwd: done [Change the manage password] #passwd manage #exit There is no need to reboot the operating system to go to multi-user mode. The exit command will cause the system to return to multi-user miode without a reboot. Regards SSR >From: "Simon-Pierre Butsana" >Reply-To: Simon-Pierre Butsana >To: >Subject: How can I recover the password for root in FreeBSD 4.4 >Date: Wed, 4 Jun 2003 09:54:20 +0100 > >Hi, > >I changed yesterday the password for root on my server because I found it >too simple. Unfortunately I didn't write it and now I just can't remind it. >I still have access to an account belonging to the wheel group. Is there >any means to recover or to set a new password for root? >I would appreciate any help on this. >many thanks, > >Simon >_______________________________________________ >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" _________________________________________________________________ Technical writer?. Earn more now! http://server1.msn.co.in/msnleads/tis/index.asp Find out how.