From owner-freebsd-questions@FreeBSD.ORG Fri Sep 12 07:31:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DD4D16A4BF for ; Fri, 12 Sep 2003 07:31:54 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 689C043FE0 for ; Fri, 12 Sep 2003 07:31:53 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.9/8.12.9) with ESMTP id h8CEVqOg027172; Fri, 12 Sep 2003 10:31:52 -0400 (EDT) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.9/8.12.9/Submit) id h8CEVpFC027166; Fri, 12 Sep 2003 10:31:51 -0400 (EDT) From: Jerry McAllister Message-Id: <200309121431.h8CEVpFC027166@clunix.cl.msu.edu> To: johnmascardo@yahoo.co.uk (=?iso-8859-1?q?John=20Mascardo?=) Date: Fri, 12 Sep 2003 10:31:50 -0400 (EDT) In-Reply-To: <20030912025036.23425.qmail@web14606.mail.yahoo.com> from "=?iso-8859-1?q?John=20Mascardo?=" at Sep 12, 2003 03:50:36 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: freeBSD 4.8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2003 14:31:54 -0000 > > I am a very-very new LINUX/UNIX user. After being convinced by friends > that it is far better and stablethan windows architechture. So I bought the > LINUX Format magazine because it offered a full OS called FREEBSD 4.8 > I tried to install it and after a few a attempts I managed to install > it atlast but when it started up it asked for a login and password. > I must have missed something along the way because for the life of me I > had no clue what was happening on install. I searched the mag and the disc > and unfortunately I can't find any login or password detail. I tried > typing different stuff but to know avail... > > PLEASE tell me what I'm doing wrong and what I should do... What you first missed was the step in the installation process that asked you to set up an administration account with passwork. Or, you may have done it and forgotten it. It may be the 'root' account. If you can't remember or figure it out, then you can boot to single user and create one there. There are lots of descriptions in the archives on how to do it and instructions in the FreeBSD Handbook which in online at http://www.freebsd.org/ look for the handbook item or do a search for single user. Or do the search on Google. Create an account with root priviledge and go from there. Make sure you use a decently hard to guess password. reboot (you may have to CTRL-ALT-DEL) hit space when it asks and starts a countdown Then do: boot -s (wait for it to finish to a # prompt) RETURN/ENTER when it asks for shell fsck -p mount -u / mount -a swapon -a vipw (see http://scnc.k12.mi.us/howto/edit/vi.html for editing info) copy the line with 'toor' (eg make two of them) replace the 'toor' field with a real id (we use Rinitials) add a shell on the end of the line like '/bin/tcsh' or '/bin/sh' save and exit from vipw (type ESC:wq ) passwd Rinitials (whatever id you just created) and set the password shutdown -r now allow it to reboot and log in with the new id. ////jerry > > CLUELESS JOHN >