From owner-freebsd-questions Wed Apr 23 05:30:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA27464 for questions-outgoing; Wed, 23 Apr 1997 05:30:19 -0700 (PDT) Received: from newton.ccs.tuns.ca (daemon@newton.ccs.tuns.ca [134.190.1.4]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA27451 for ; Wed, 23 Apr 1997 05:30:16 -0700 (PDT) Message-Id: <199704231230.FAA27451@hub.freebsd.org> Received: from boat (cmvdr1.na.tuns.ca) by newton.ccs.tuns.ca with SMTP (1.37.109.20/15.6) id AA257338456; Wed, 23 Apr 1997 09:27:36 -0300 Date: Wed, 23 Apr 1997 09:27:36 -0300 X-Sender: hey@newton.ccs.tuns.ca X-Mailer: Windows Eudora Version 1.4.4 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: questions@FreeBSD.org From: hey@tuns.ca (Yingjun He) Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk I just installed FreeBSD 2.2. Everything seems fine. But Atfter I reboot the system from hard disk I cannot login. I was asked for passward for root which I don't know because I did not set a password for root and I also did not add any user during the installation. 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. Thank you! Ian >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Ian Y.J. He ---> Home Page: http://www.tuns.ca/~hey ************* ---> Email: hey@tuns.ca ---> Phone: (902)420-7975 ---> Fax : (902)423-0363 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Centre for Marine Vessel Design and Research --- Department of Mechanical Engineering - Technical University of Nova Scotia - Halifax, Nova Scotia --- Canada B3J 2X4 ================================================================