From owner-freebsd-questions Mon Jun 1 22:42:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA18569 for freebsd-questions-outgoing; Mon, 1 Jun 1998 22:42:34 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lucy.bedford.net (lucy.bedford.net [206.99.145.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA18560 for ; Mon, 1 Jun 1998 22:42:27 -0700 (PDT) (envelope-from listread@lucy.bedford.net) Received: (from listread@localhost) by lucy.bedford.net (8.8.8/8.8.8) id BAA04750; Tue, 2 Jun 1998 01:39:09 -0400 (EDT) (envelope-from listread) Message-Id: <199806020539.BAA04750@lucy.bedford.net> Subject: Re: HELP! no shell In-Reply-To: <000701bd8db8$a3243580$0a22a10a@ipo10161034010.nbtel.net> from Marco Shaw at "Jun 1, 98 08:54:38 pm" To: marco@nbnet.nb.ca (Marco Shaw) Date: Tue, 2 Jun 1998 01:39:09 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG X-no-archive: yes Reply-to: djv@bedford.net From: CyberPeasant X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Marco Shaw wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > 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 Look before you leap :) > 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'. > Try logging in as toor. Or you can pick sh if you boot single user. at the boot: prompt, enter -s Once things are settled down, go to the bash2 port and make it yourself. cd /usr/ports/shells/bash2 make patch cd work/bash-2.02 configure --enable-static-link make install -c -s -o bin -g bin -m 0555 bash /bin List it in /etc/shells for good luck. Dave -- DISCLAIMER: If it can be disclaimed, it is. DISCLAIMER: In particular, I don't represent any organization. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message