I'm using CentOS 6.5, and the chsh command does not work. I've tried under my account and as root, each time using both the full argument chsh -s /bin/tcsh and using just chsh and following the prompts. Each time it says the shell has been changed, but it doesn't actually change--I continue to use bash.

What can I do to correct this problem?

  • Jeez, that's exactly what I needed. It's always something stupid. Make that an answer and I'll mark it as accepted if you'd like! – vaindil Jan 3 '14 at 21:22

After running that command, you have to log out and back in. chsh changes your log in shell, not your current shell.

To change your current shell (well start a tcsh shell really), you can run /bin/tcsh

  • You are most welcome. – Panther Jan 3 '14 at 21:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.