[Gllug] bash prompt

Tethys tet at accucard.com
Mon Dec 2 17:59:14 UTC 2002


SteveC writes:

>I installed gentoo 1.4 and asked this on the [rather quiet] mailing list
>without respons... the bash profile works fine from console login or ssh
>but xterm gives a nice 'sh-2.04a$' prompt.

The prompt alone gives a clue. It implies bash is being invoked as /bin/sh
rather than /bin/bash (at which point, it enters compatibility mode, and
it'll ignore your .bashrc). I'm guessing that your default shell is /bin/sh.
Try changing it with:

	usermod -s /bin/bash steve

Tet

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list