sunzl1987

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

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

至此,问题解决。

 

posted on 2014-07-09 11:00  Sanz  阅读(201)  评论(0编辑  收藏  举报