首页 > 其他 > 详细

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

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

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!