I want to change my default shell from tcsh to bash. So I tried and this is what happened:
>sudo chsh userid
Changing the login shell for userid
Enter the new value, or press ENTER for the default
Login Shell [/xhbin/tcsh]: /bin/bash
chsh: user 'userid' does not exist in /etc/passwd
Indeed, I am not in /etc/passwd. I don't know why.
What can I do?
getent passwd <userid>). I think that whether runningchshis supported in that case may depend on settings in/etc/pam.d/– steeldriver Sep 21 '13 at 13:28