码迷,mamicode.com
首页 > 其他好文 > 详细

sunzl is not in the sudoers file.This incident will be reported

时间:2014-07-11 21:50:57      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:des   style   color   os   问题   io   

Description:

[sunzl@localhost nuc900bsp$] ./install.sh

sorry!you are not the root !!

[sunzl@localhost nuc900bsp$] sudo ./install.sh

password:

sunzl is not in the sudoers file.This incident will be reported

fixed:

[sunzl@localhost nuc900bsp$] su

password:

[sunzl@localhost nuc900bsp$]chmod  u+w  /etc/sudoers

[sunzl@localhost nuc900bsp$] vi  /etc/sudoers

  找到这一行:"root ALL=(ALL) ALL",在该行下面另起一行添加"sunzl ALL=(ALL) ALL",保存,退出。

[sunzl@localhost nuc900bsp$]chmod  u-w  /etc/sudoers

至此,问题解决。

 

sunzl is not in the sudoers file.This incident will be reported,布布扣,bubuko.com

sunzl is not in the sudoers file.This incident will be reported

标签:des   style   color   os   问题   io   

原文地址:http://www.cnblogs.com/sunzl1987/p/3833129.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!