我正在尝试将 RHEL5 中的默认 shell 从 zsh 更改为 bash。我尝试了这个thead 中提到的方法。通过键入sudo /usr/bin/chsh -s /bin/bash,系统会说sudo: /usr/bin/chsh: command not found。但是 /usr/bin/chsh 就在那里。我发现的另一种方法是用我的 usrid 编辑 /etc/passwd 文件,但它禁止我编辑它。有什么建议?
sudo /usr/bin/chsh -s /bin/bash
sudo: /usr/bin/chsh: command not found
bash zsh shell redhat-enterprise-linux
bash ×1
redhat-enterprise-linux ×1
shell ×1
zsh ×1