Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 1998 18:05:33 +0000 (GMT)
From:      "Jason C. Wells" <jcwells@u.washington.edu>
To:        Marco Shaw <marco@nbnet.nb.ca>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: HELP! no shell
Message-ID:  <Pine.BSF.3.96.980601175856.1564A-100000@s8-37-26.student.washington.edu>
In-Reply-To: <000701bd8db8$a3243580$0a22a10a@ipo10161034010.nbtel.net>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980601175856.1564A-100000>