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

简介: jun.li is not in the sudoers file. This incident will be reported

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


出现这个情况就是在服务器或者Ubuntu下使用sudo进行操作,结果发现不能操作,就会打印这个


解决办法


1,切换到root用户下,


2,添加sudo文件的写权限,

chmod u+w /etc/sudoers

3,编辑sudoers文件

vi /etc/sudoers


4,找到这行 root ALL=(ALL) ALL,在他下面添加jun.li ALL=(ALL) ALL (这里是你的用户名)

相关文章
|
数据安全/隐私保护
xxx is not in the sudoers file.This incident will be reported.的解决方法
本文转自: http://www.cnblogs.com/zox2011/archive/2013/05/28/3103824.html 1.切换到root用户下,怎么切换就不用说了吧, 2.添加sudo文件的写权限,命令是: chmod u+w /etc/sudoers 3.
Samba setuid 'mount.cifs' Verbose Option Information Disclosure Vulnerability
谁知道利用地址或者工具请发一下谢谢 http://www.securityfocus.com/bid/36572/references http://www.
622 0
CDLinux su: must be suid to work properly错误
系统内核版本:cat /proc/version Linux version 2.6.33-cdl (root@Phenom) (gcc version 3.4.6) #1 SMP PREEMPT Fri Apr 2 01:04:03 EDT 2010 文件系统:127 15:50$ busyboxBusyBox v1.
1749 0
|
JavaScript Shell
eWebeditor suffers from administrative bypass, database disclosure, shell upload and directory traversal vulnerabilities
################################################################# # Securitylab.
868 0
|
Windows 机器学习/深度学习
6.Querying WMI and 7.Working with Active Directory
6.##################################################################################################Querying WMIGet-WmiObject...
748 0
|
5月前
|
Linux 开发工具 数据安全/隐私保护
CentOS7报错:“xxx is not in the sudoers file. This incident will be reported“解决方法
CentOS7报错:“xxx is not in the sudoers file. This incident will be reported“解决方法
546 0
|
Oracle 关系型数据库
Creating ASMSNMP User reports ORA-15306
In this Document  Symptoms   Cause   Solution Applies to: Oracle Server - Enterprise Edition - Version: 11.
1383 0

热门文章

最新文章