我想将我的默认 shell 从 tcsh 更改为 bash。所以我尝试了,这就是发生的事情:
>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
Run Code Online (Sandbox Code Playgroud)
确实,我不在 /etc/passwd 中。我不知道为什么。
我能做什么?