1.原因分析 用户没有root用户权限
2.解决方法给账户添加root权限
2.1su root
2.2ll /etc/sudoers
2.3chmod u+w /etc/sudoers
2.4 gedit /etc/sudoers
添加 xxx ALL=(ALL) ALL
1.原因分析 用户没有root用户权限
2.解决方法给账户添加root权限
2.1su root
2.2ll /etc/sudoers
2.3chmod u+w /etc/sudoers
2.4 gedit /etc/sudoers
添加 xxx ALL=(ALL) ALL