linux系统下,执行sudo......命令时,出现“xxx is not in the sudoers file. This incident will be reported。”,还解决方案如下
在以普通用户执行一些操作的时候,需要以管理员的身份执行我们的命令,可以通过执行sudo……该命令进行执行。
但是在没有配置/etc/sudoers之前,当执行sudo……该命令后,会出现该提示消息:“xxx is not in the sudoers file. This incident will be reported.”
解决这个问题的办法有两种
1)直接切换到root用户,即...
原创
2018-11-27 18:51:10 ·
1295 阅读 ·
0 评论