the complete problem is "user is not in the sudoers file. This include will be reported."
It means the user do not have permission to use "sudo" so we have to modify the docment /etc/sudoers
follow the steps:
1. enter the super user mode
su -
Then input the password
2.chmod u+w /etc/sudoers
3.vi /etc/sudoers
4.fine the context of "root (ALL)ALL=ALL"
and input "username (ALL)ALL=ALL" in the next line
5.recovery the limit of authority
chmod u-w /etc/sudoers
mention above come from: the solution of xxx is not in the sudoers
文章標籤
全站熱搜
留言列表