创建用户时指定了 shell,但是指定 shell 不存在 用 root 登录查看有哪些 shell$ chsh -l 或 $ cat /etc/shells 用编辑器打开 /etc/passwd,修改指定用户的 shell 路径为正确路径即可。