解决is not in the sudoers file有关问题
解决is not in the sudoers file问题
解决xxx is not in the sudoers file. This incident will be reported的错误:
原因:linux默认没有开启sudo权限
解决方法:
#su -
#chmod u+w /etc/sudoers
#visudo
在root ALL=(ALL) ALLZ下 添加xxx ALL=(ALL) ALL
#chmod u-w /etc/sudoers
解决xxx is not in the sudoers file. This incident will be reported的错误:
原因:linux默认没有开启sudo权限
解决方法:
#su -
#chmod u+w /etc/sudoers
#visudo
在root ALL=(ALL) ALLZ下 添加xxx ALL=(ALL) ALL
#chmod u-w /etc/sudoers