sudo: Cannot execute /usr/local/bin/zsh: No such file or directory 问题
参考:sudo: Cannot execute /usr/local/bin/zsh: No such file or directory
之前在美化Ubuntu的时候,下了个zsh,但是忘记改配置文件中的路径了,于是在su root的时候出现该情况。
解决方法:
sudo vim /etc/passwd
将 root 的路径修改成 zsh 的路径即可。
2016/9/18
To improve is to change, to be perfect is to change often.