From owner-freebsd-questions Wed Apr 23 17:26:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA02770 for questions-outgoing; Wed, 23 Apr 1997 17:26:27 -0700 (PDT) Received: from cedb.dpcsys.com (cedb.DPCSYS.com [209.25.4.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA02765 for ; Wed, 23 Apr 1997 17:26:24 -0700 (PDT) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.5/8.8.2) with SMTP id AAA24354; Thu, 24 Apr 1997 00:26:12 GMT Date: Wed, 23 Apr 1997 17:26:12 -0700 (PDT) From: Dan Busarow To: Yingjun He cc: questions@freebsd.org Subject: Re: your mail In-Reply-To: <199704231230.FAA27451@hub.freebsd.org> 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, 23 Apr 1997, Yingjun He wrote: > I don't like to reinstall the system (It takes me several hours to install > everything). Is there anyway to erase the password and get into root? I > tried to use "kernek -s" to boot but I cannot edit /etc/passwd with vi. At the boot: prompt, type in -s After a bit you'll get a prompt to enter a shell or for sh. Just hit enter. Now run passwd It will ask you for a new password for root. Enter a new password. While you're at it, run adduser and create some normal accounts. Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82