From owner-freebsd-questions Mon Jun 1 22:57:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA21662 for freebsd-questions-outgoing; Mon, 1 Jun 1998 22:57:54 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from wired.ctech.ac.za (wired.ctech.ac.za [155.238.4.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA21634 for ; Mon, 1 Jun 1998 22:57:43 -0700 (PDT) (envelope-from jacques@wired.ctech.ac.za) Received: from wired.ctech.ac.za (localhost [127.0.0.1]) by wired.ctech.ac.za (8.8.7/8.8.7) with SMTP id IAA21630; Tue, 2 Jun 1998 08:00:21 +0200 (SAT) (envelope-from jacques@wired.ctech.ac.za) Message-ID: <357394F5.41C67EA6@wired.ctech.ac.za> Date: Tue, 02 Jun 1998 08:00:21 +0200 From: Jacques Hugo X-Mailer: Mozilla 3.04 (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: Marco Shaw CC: questions@FreeBSD.ORG Subject: Re: HELP! no shell References: <000701bd8db8$a3243580$0a22a10a@ipo10161034010.nbtel.net> 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: > > 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! Try this first. Boot up in single user mode (-s a the prompt) run mount -a to mount all your file systems vi /etc/shells put bash in there (/usr/local/bin/bash, or wereever) type exit You should be fine then. -Jacques ------------------------------------------------------ The box said "Requires Windows 3.1 or better" ... so I got BSD Network Administrator | Jacques Hugo UNIX Systems | jacques@wired.ctech.ac.za Cape Technikon | +27-21-4603584 ------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message