Hi Jan, 2010/1/22 Jan van Eldik <[email protected]>: > > Could you please verify that your *current* shell in listed in > /etc/shells? If not, could you please add it and try "chsh" once > more?
My current shell is zsh, and I want to change to bash. As you can see both are listed there. $ cat /etc/shells /bin/sh /bin/bash /sbin/nologin /bin/ash /bin/bsh /bin/ksh /usr/bin/ksh /usr/bin/pdksh /bin/tcsh /bin/csh /bin/zsh > For historical reasons AFS users at CERN often have shells prepended > with "/usr/local", ie "/usr/local/bin/bash". This is changed on SLC5... I think you have found the problem. `which' finds the soft links in /usr/local/ where as the shells listed in /etc/shells are in /bin/ $ ls -l `which zsh` `which bash` lrwxrwxrwx 1 root root 8 Jul 24 2008 /usr/local/bin/zsh -> /bin/zsh lrwxrwxrwx 1 root root 9 Jul 24 2008 /usr/local/bin/bash -> /bin/bash $ whereis zsh bash zsh: /bin/zsh /usr/local/bin/zsh /usr/share/zsh /usr/share/man/man1/zsh.1.gz bash: /bin/bash /usr/local/bin/bash /usr/share/man/man1/bash.1.gz $ which zsh bash /usr/local/bin/zsh /usr/local/bin/bash Since I am not an admin on the system, as Andrew suggested, getting in touch with them is my only choice. Too bad they seem elusive. Wish me luck. -- Suvayu Open source is the future. It sets us free.
