Date: Wed, 10 Apr 2002 09:03:57 +0200 From: Roman Neuhauser <neuhauser@mail.cz> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: questions@FreeBSD.ORG Subject: Re: Root problem & Passwords Message-ID: <20020410070356.GL12083@roman.mobil.cz> In-Reply-To: <20020409170956.GE67632@hades.hell.gr> References: <002101c1dfa2$e2ea81c0$0501a8c0@Bastion> <01a001c1dfa9$9b3d08a0$b50d030a@PATRICK> <20020409170956.GE67632@hades.hell.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Tue, 9 Apr 2002 20:09:56 +0300 > From: Giorgos Keramidas <keramida@ceid.upatras.gr> > To: "Patrick O'Reilly" <bsd@perimeter.co.za> > Cc: Martins Struka <martinss2000@inbox.lv>, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020410070356.GL12083>