From owner-freebsd-questions Tue Apr 9 23:48:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [194.228.200.160]) by hub.freebsd.org (Postfix) with ESMTP id BDC4437B41A for ; Tue, 9 Apr 2002 23:48:46 -0700 (PDT) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id g3A6mdZ24549; Wed, 10 Apr 2002 08:48:39 +0200 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.9a) with ESMTP id 2002041008475884:11 ; Wed, 10 Apr 2002 08:47:58 +0200 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id g3A73vk24065; Wed, 10 Apr 2002 09:03:57 +0200 (CEST) (envelope-from neuhauser@mail.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mail.cz using -f Date: Wed, 10 Apr 2002 09:03:57 +0200 From: Roman Neuhauser To: Giorgos Keramidas Cc: questions@FreeBSD.ORG Subject: Re: Root problem & Passwords Message-ID: <20020410070356.GL12083@roman.mobil.cz> Mail-Followup-To: Giorgos Keramidas , questions@FreeBSD.ORG References: <002101c1dfa2$e2ea81c0$0501a8c0@Bastion> <01a001c1dfa9$9b3d08a0$b50d030a@PATRICK> <20020409170956.GE67632@hades.hell.gr> Mime-Version: 1.0 In-Reply-To: <20020409170956.GE67632@hades.hell.gr> User-Agent: Mutt/1.3.26i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.9a |January 7, 2002) at 04/10/2002 08:47:59 AM, Serialize by Router on ester/Mobil(Release 5.0.9a |January 7, 2002) at 04/10/2002 08:48:04 AM, Serialize complete at 04/10/2002 08:48:04 AM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 > Date: Tue, 9 Apr 2002 20:09:56 +0300 > From: Giorgos Keramidas > To: "Patrick O'Reilly" > Cc: Martins Struka , questions@FreeBSD.ORG > Subject: Re: Root problem & Passwords > > On 2002-04-09 11:33, Patrick O'Reilly wrote: > > To reset the root password: > > > > 1) Restart the computer (Ctrl-Alt-Del or Power On). > > 2) When you see the message counting down from 10 seconds, press > > Space Bar. > > 3) when you see the "ok" prompt, type "boot -s" - this provides root > > access in single user mode. > > 4) At the shell prompt type: > > # fsck -p (File System Check) > > # mount -u / (mount / partition read/write) > > # mount -a -t ufs (mount all ufs partitions - /usr ...) > > # passwd (supply root passwd twice) > > Just because I've been bitten by this a few times. Before shutting > down, run a few "sync" commands, and wait until the disks spin down. > I've changed my rc.conf a couple of times, and rebooted too fast only > to find that the changes were not there :-) could you tell me the PR number (if there is one)? -- FreeBSD 4.4-STABLE 9:03AM up 16 days, 15:48, 11 users, load averages: 0.10, 0.04, 0.03 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message