1. 出现 I have no name ! 作为ubuntu 主机名
权限问题
修改:root 权限下 chmod 644 /etc/passwd
2、unable to stat /etc/sudoers permission denied
/etc/sudoers 权限问题
修改:在root用户下 ,
1) pkexec dpkg-reconfigure sudo;
2) pkexec chmod 755 /etc/sudoers.d
3) pkexec chmod 755 /etc
参考:https://askubuntu.com/questions/905568/unable-to-stat-etc-sudoers-no-such-file-or-directory