Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jun 1998 08:00:21 +0200
From:      Jacques Hugo <jacques@wired.ctech.ac.za>
To:        Marco Shaw <marco@nbnet.nb.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: HELP! no shell
Message-ID:  <357394F5.41C67EA6@wired.ctech.ac.za>
References:  <000701bd8db8$a3243580$0a22a10a@ipo10161034010.nbtel.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?357394F5.41C67EA6>