xx is not in the sudoers file

 

sudo visudo

在root ALL=(ALL)ALL行下添加XXX ALL=(ALL)ALL,XXX为你的用户名

例如:

# User privilege specification
root    ALL=(ALL:ALL) ALL
zhxia   ALL=(ALL:ALL) ALL
posted @ 2012-08-16 11:03  涛光  阅读(138)  评论(0编辑  收藏  举报