From owner-freebsd-questions Mon Jun 1 18:07:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA26781 for freebsd-questions-outgoing; Mon, 1 Jun 1998 18:07:48 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jason05.u.washington.edu (root@jason05.u.washington.edu [140.142.78.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA26714 for ; Mon, 1 Jun 1998 18:07:21 -0700 (PDT) (envelope-from jcwells@u.washington.edu) Received: from saul9.u.washington.edu (root@saul9.u.washington.edu [140.142.82.7]) by jason05.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with ESMTP id SAA50152; Mon, 1 Jun 1998 18:07:13 -0700 Received: from s8-37-26.student.washington.edu (S8-37-26.student.washington.edu [128.208.37.26]) by saul9.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.04) with SMTP id SAA23568; Mon, 1 Jun 1998 18:07:13 -0700 (PDT) Date: Mon, 1 Jun 1998 18:05:33 +0000 (GMT) From: "Jason C. Wells" X-Sender: jason@s8-37-26.student.washington.edu To: Marco Shaw cc: freebsd-questions@FreeBSD.ORG Subject: Re: HELP! no shell In-Reply-To: <000701bd8db8$a3243580$0a22a10a@ipo10161034010.nbtel.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 1 Jun 1998, Marco Shaw wrote: >I just installed my system today. I prefer the BASH shell, so I immediately >changed my shell (root) to BASH. I presumed that it was in /bin/bash and >already installed, BUT it wasn't. Now I can't login as root, I just get >kicked back to the login prompt, and I can't 'su' to root because the groups >aren't setup right! > >How can I get in without reinstalling? My friend suggested I boot a kernel >from the floppy, but how can I get one? I only have the boot floppy and no >'emergency floppy'. -Create the FIXIT floppy under winblows if you haven't already -Boot the boot floppy -Run sysinstall -Choose FIXIT mode from the menu -insert the FIXIT disc -Mount the / partition -vipw -change the shell back to /bin/sh -reboot Your root user should _ALWAYS_ have an available shell in the root partition. You see why now. Bash is not installed unless you install it. When installed using defaults, bash is installed in /usr/local/bin. It is possible to copy bash into /bin as I have done if you really like bash that much. Catchya Later, | UW Mechanical Engineering Jason Wells | http://weber.u.washington.edu/~jcwells/ | 206-633-5994 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message