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

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

时间:2014-05-22 00:57:35      阅读:272      评论:0      收藏:0      [点我收藏+]

标签:c   tar   ext   a   com   cti   

On using the sudo command if we see the error 

 

This means that the user as whom we have logged in and are trying to run the command "sudo" does not have the permission to do so. 
Only the users listed in /etc/sudoers have the permission to use the command "sudo". 
To give the sudo permission to a user we need to add the user to the file /etc/sudoers file. 
Open the file /etc/sudoers as root. 

 

Add the line 

 

under the User privilege specification section. 
Save the file and exit, now the sudo command should work for the user which was added in the file. 

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

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

标签:c   tar   ext   a   com   cti   

原文地址:http://www.cnblogs.com/rosepotato/p/3738942.html

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