Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 1998 01:39:09 -0400 (EDT)
From:      CyberPeasant <djv@bedford.net>
To:        marco@nbnet.nb.ca (Marco Shaw)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: HELP! no shell
Message-ID:  <199806020539.BAA04750@lucy.bedford.net>
In-Reply-To: <000701bd8db8$a3243580$0a22a10a@ipo10161034010.nbtel.net> from Marco Shaw at "Jun 1, 98 08:54:38 pm"

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806020539.BAA04750>