首页 > 其他 > 详细

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

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

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

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

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