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

 

 

arrow
arrow
    文章標籤
    mac sudoers
    全站熱搜

    glitterHsin 發表在 痞客邦 留言(0) 人氣()