That sounds strange...

As the chsh man page says, *chsh -l* lists the content of /etc/shells, so
your machine should have /bin/bash.

Have you tried to execute *chsh* , then insert your password and finally
type /bin/bash???

Have you checked what *which bash* returns??

Have you tried to execute *bash* to enter in a bash shell??

Good luck!

Fernando.

On Thu, Jan 21, 2010 at 08:11, suvayu ali <[email protected]> wrote:

> Hi everyone,
>
> I want to change my login shell on a SL 4.8 machine I don't have root
> access to (atcanpc, its only accessible from lxplus). I have tried
> `chsh -s `which bash`'. But that returns me the following error: chsh:
> Your shell is not in /etc/shells, shell change denied. However when I
> do `chsh -l' I see /bin/bash in it.
>
> Is there any solution to this? Thanks for any pointers.
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>
>


-- 
---------------------------------------------------------------------------------------------------------
Fernando Campos Del Pozo
Becario Super-Computación - Departamento de Física Teórica
Facultad de Ciencias / Módulo 15 (C-XI) / Despacho 512
Tlf.: +34-914974893
e-mail: [email protected]

Reply via email to