From owner-freebsd-questions@FreeBSD.ORG Mon Apr 18 18:17:14 2005 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 D5C9B16A4CE for ; Mon, 18 Apr 2005 18:17:14 +0000 (GMT) Received: from stdin.stderror.at (stdin.stderror.at [83.65.196.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0578C43D1D for ; Mon, 18 Apr 2005 18:17:14 +0000 (GMT) (envelope-from pinhead@steve.stderror.at) Received: from steve.stderror.at (steve.stderror.at [83.65.196.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by stdin.stderror.at (Postfix) with ESMTP id 6DB94A177 for ; Mon, 18 Apr 2005 20:17:11 +0200 (CEST) Received: from steve.stderror.at (localhost [127.0.0.1]) by steve.stderror.at (8.13.1/8.13.1) with ESMTP id j3IIIIaf085765 for ; Mon, 18 Apr 2005 20:18:18 +0200 (CEST) (envelope-from pinhead@steve.stderror.at) Received: (from pinhead@localhost) by steve.stderror.at (8.13.1/8.13.1/Submit) id j3IIIHdu085764 for freebsd-questions@freebsd.org; Mon, 18 Apr 2005 20:18:17 +0200 (CEST) (envelope-from pinhead) Date: Mon, 18 Apr 2005 20:18:17 +0200 From: Toni Schmidbauer To: freebsd-questions@freebsd.org Message-ID: <20050418181817.GA85685@stderror.at> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Phone: +43 664 3502198 X-WWW-Home-Page: http://stderror.at X-PGP-Fingerprint: 53F2 28AE 8070 83E0 AFEC 0ABC BBF9 A34A 3ED1 3287 X-Operating-System: FreeBSD User-Agent: Mutt/1.5.9i Subject: Re: cd-rom sysinstall fixit utility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: toni@stderror.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2005 18:17:14 -0000 On Mon, Apr 18, 2005 at 01:05:53PM -0400, Darrel wrote: > Is there actually a way to change the shell of root while logged in with > the fixit utility on the cd-rom? boot from the fixit cd/floppy, mount your root partition (e.g. /dev/ad0s1a), edit /etc/passwd and change the shell to something valid (/bin/csh should always work). a quick search on google for "freebsd fixit" found the following, which might help: http://www.freebsd-corp-net-guide.com/technotes/fixit.html in your case, after mounting /dev/ad0s1a on /mnt, "vi /mnt/etc/passwd" - save, reboot and you should be fine. hth, toni -- Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at mehr irrt, der hat auch zu arbeiten aufgehoert | Toni Schmidbauer -- Max Planck |