User not in the sudoers file. This incident will be reported
原因是當下的使用者是新創立的
而一開始創立的使用者會預設成root
先用一開始創立的使用者切換成root
再加上權限語法如下
代碼: 選擇全部
su -c 'echo $USER ALL=(ALL)ALL >> /etc/sudoers'再用新的使用著重新登入用即可
http://superuser.com/questions/120340/u ... e-reported