From owner-freebsd-questions@FreeBSD.ORG Wed Apr 16 20:41:38 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 7FD6437B401 for ; Wed, 16 Apr 2003 20:41:38 -0700 (PDT) Received: from floyd.gnulife.org (floyd.gnulife.org [199.86.41.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF42343FDD for ; Wed, 16 Apr 2003 20:41:37 -0700 (PDT) (envelope-from jamie@gnulife.org) Received: by floyd.gnulife.org (Postfix, from userid 1000) id 95910432FB; Wed, 16 Apr 2003 22:54:29 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by floyd.gnulife.org (Postfix) with ESMTP id 86665432E6; Wed, 16 Apr 2003 22:54:29 -0500 (CDT) Date: Wed, 16 Apr 2003 22:54:29 -0500 (CDT) From: Jamie To: Sunil Sunder Raj In-Reply-To: Message-ID: <20030416225147.E13034-100000@floyd.gnulife.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: How to Reset a Forgotten Root Password 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: Thu, 17 Apr 2003 03:41:38 -0000 Hmmm...maybe I am wrong but I thought you had to remount the '/' partition in rw mode also: mount -urw / - Jamie On Thu, 17 Apr 2003, Sunil Sunder Raj wrote: > > 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: Hilmi Hilmiev > >To: freebsd-questions@freebsd.org > >Subject: How to Reset a Forgotten Root Password > >Date: Tue, 15 Apr 2003 13:20:03 +0200 > > > >I have FreeBSD box with forgotten root password. How can I reset this > >password? > > > > > > > >_______________________________________________ > >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" > > > _________________________________________________________________ > Celebrate Easter. Eggs, bunnies et al. > http://server1.msn.co.in/sp03/easter/index.asp Send e-cards. > > _______________________________________________ > 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" > And when you gaze long into an abyss the abyss also gazes into you. - Nietzsche