Subject: Re: Prompts
To: Steven Grunza <steven_grunza@ieee.org>
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
List: netbsd-help
Date: 11/14/2002 23:07:29
On 2002-11-12 13:16, Steven Grunza <steven_grunza@ieee.org> wrote:
> Just keep in mind that changing the root prompt must be done with
> care as some utilities are on the /usr filesystem ( like
> /usr/bin/whoami ) so if the system is booted into single user and
> doesn't have all the filesystems mounted you can run into some odd
> situations.

Well, not quite.  There's no harm in changing the prompt!  You are
obviously talking about the "shell" here.  I have csh as my root
shell, which works fine and is always available in /bin, but I have
changed my default prompt from the equivalent of 'machine#' to:

	machine# set prompt = '#'
	#

Nothing wrong there.

> To avoid this I've been leaving the root account alone (defaults to
> csh) and have been using toor (set to use Korn shell with my own
> preferred environment stuff).  So far it's worked for me...

This is the recommended way of making a superuser account with a shell
that's different from /bin/csh.  Very good advice here.

Giorgos