我正在尝试更改亚马逊 AWS (AMI ami-ad184ac4) 上的 Ubuntu 服务器 13.10 上的默认 shell。
我试过了:
~$ chsh -s /bin/zsh
Run Code Online (Sandbox Code Playgroud)
但得到:
Password:
chsh: PAM: Authentication failure
Run Code Online (Sandbox Code Playgroud)
我尝试过明显的密码(例如ubuntu),但总是收到相同的错误消息 - chsh: PAM: Authentication failure。
知道为什么我不能更改默认外壳吗?
Ada*_*tan 19
奇怪的是,使用sudo用户名是答案:
$ sudo chsh ubuntu -s /bin/zsh
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3013 次 |
| 最近记录: |