From owner-freebsd-questions Fri May 30 10:34:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA27449 for questions-outgoing; Fri, 30 May 1997 10:34:36 -0700 (PDT) Received: from jason05.u.washington.edu (root@jason05.u.washington.edu [140.142.78.6]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA27444 for ; Fri, 30 May 1997 10:34:34 -0700 (PDT) Received: from dante05.u.washington.edu (pharaoh@dante05.u.washington.edu [140.142.15.7]) by jason05.u.washington.edu (8.8.4+UW97.04/8.8.4+UW97.05) with ESMTP id KAA23066; Fri, 30 May 1997 10:34:30 -0700 Received: from localhost (pharaoh@localhost) by dante05.u.washington.edu (8.8.4+UW97.04/8.8.4+UW97.04) with SMTP id KAA39354; Fri, 30 May 1997 10:34:29 -0700 Date: Fri, 30 May 1997 10:34:29 -0700 (PDT) From: "E. Lakin" To: Andy Pendry cc: freebsd-questions@FreeBSD.ORG Subject: Re: Never thought I could be so stupid! In-Reply-To: <338EE26B.5A1@cableinet.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 30 May 1997, Andy Pendry wrote: > I am embarrassed! > > I was changing user passwd's in root, and I enterted passwd without a > user name (I was distracted). When I rebooted, I couldn't get into root > because I had unwittingly changed the root passwd. > > I have tried using a boot floppy. The change root passwd option is > avaialable in the menu, but when I select it, it just redisplays the > menu. If you reboot the machine into single-user mode (-s at the boot prompt), you'll have root access. The passwd file can then be edited.