From owner-freebsd-questions Wed Aug 7 20:59:37 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA03801 for questions-outgoing; Wed, 7 Aug 1996 20:59:37 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts6-line14.uoregon.edu [128.223.150.44]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA03796 for ; Wed, 7 Aug 1996 20:59:33 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id UAA00237; Wed, 7 Aug 1996 20:59:21 -0700 (PDT) Date: Wed, 7 Aug 1996 20:59:21 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Jesse cc: questions@FreeBSD.org Subject: Re: (Fwd) Re: help! I forgot to set my password!!!! In-Reply-To: <199608071857.LAA22139@m4.sprynet.com> 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 Wed, 7 Aug 1996, Jesse wrote: > > > HELP!!! when I installed freeBSD v2.1.5, I forgot to set the root > > > password! Could you please tell me the default password so I can get > > > into my system? > > > > well apparently it is. Everytime I boot up it says FreeBSD > (sprynet.com) tty01 > > > login: > > so far I have tryed ever password and username combo I know, but it > keeps saying "invalid login", even under admin. Er, did you try responding 'root' to the login: prompt? If you are really stuck: At the Boot: prompt, type '-s' & enter. You'll be asked Enter shell or press RETURN for sh: Just hit ENTER. At the #, run mount / then mount -a Your filesystems should be back. Then run /usr/sbin/vipw & blank out root's password (it'll be the jumble of characters on the line starting with "root". (In case you're new to vi, put the cursor at the beginning of the encoded password and hit 'x' to delete the character under the cursor until there is nothing between the colons.) Enter ZZ to save & quit. Then run 'exit' to continue the boot process. Root now has no password; login as root then run 'passwd' to set a new password for root. Hope this makes sense. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major