1 add write permission to /etc/sudoers file

2 add your login in under these lines:

# User privilege specification
root ALL=(ALL) ALL

yourloging ALL=(ALL) ALL

3 restore the original file permission

转载于:https://www.cnblogs.com/zbie/archive/2012/09/09/2677336.html

how to add user into sudoers file?相关推荐

  1. Centos普通用户权限报错:** is not in the sudoers file. This incident will be reported.

    在centos下有一个普通用户hadoop,在用hadoop创建文件夹: [hadoop@localhost /] sudo mkdir /soft [sudo] password for hadoo ...

  2. centos普通用户权限问题解决:hadoop is not in the sudoers file. This incident will be reported.

    我在centos下有一个普通用户hadoop,在用hadoop创建文件夹: [hadoop@localhost  /] sudo mkdir  /soft [sudo] password for ha ...

  3. user is not in the sudoers file.

    2019独角兽企业重金招聘Python工程师标准>>> 场景:     在CentOS中创建了一个新用户user,在调用sudo命令时,报:"user is not in ...

  4. Linux中新建用户用不了sudo命令问题:rootr is not in the sudoers file.This incident will be reported解决

    Linux中新建用户用不了sudo命令问题:rootr is not in the sudoers file.This incident will be reported解决 参考:https://b ...

  5. xxx is not in the sudoers file.This incident will be reported.的解决方法

    xxx is not in the sudoers file.This incident will be reported.的解决方法 参考文章: (1)xxx is not in the sudoe ...

  6. linux sudo命令错误 is not in the sudoers file

    当在终端执行sudo命令时,系统提示"hadoop is not in the sudoers file": 其实就是没有权限进行sudo,解决方法如下(这里假设用户名是cuser ...

  7. xx is not in the sudoers file 问题解决

    原文:http://blog.sina.com.cn/s/blog_4ef045ab0100j59t.html 我用的是redhat5.4,在一般用户下执行sudo命令提示llhtiger is no ...

  8. not in the sudoers file. This incident will be reported.

    sudo vi /etc/sudoers 你的用户名 ALL=(ALL:ALL) ALL 如下 # # This file MUST be edited with the 'visudo' comma ...

  9. How to Fix “Username is not in the sudoers file. This incident will be reported” in Ubuntu

    How to Fix "Username is not in the sudoers file. This incident will be reported" in Ubuntu ...

最新文章

  1. Android--UI之ImageView
  2. nginx在linux reload报错,linux下安装nginx
  3. 我的世界java有三叉戟杀手吗_我的世界-三叉戟竟能这么用 这样得怪物头颅长见识了!...
  4. android 新特性笔记
  5. 【机器学习】一文读懂异常检测 LOF 算法(Python代码)
  6. JavaScript——易班优课YOOC课群在线测试自动答题解决方案(五)简单插件
  7. python360百科_python抓取360百科踩过的坑!
  8. macos安装低版本php,mac下安装多个版本PHP及切换
  9. 网络分析(带权并查集)
  10. xpath 简单用法小记
  11. 开启NLP新时代的BERT模型,真的好上手吗?
  12. substr php,PHP substr() 函数
  13. 【Java】奇葩的猴子排序
  14. element-ui省市区三级联动:选择即改变
  15. 【聚类分析】基于matlab交通干道车流量FCM聚类分析及预测【含Matlab源码 1141期】
  16. LintCode—合并两个排序链表(165)
  17. 计算机win10分区软件,完全不需要第三方工具!教你轻松调整Win10硬盘分区
  18. 2016年6月,我们毕业了~~~
  19. 【存货系列】JS文字转语音方案设计及实现
  20. 圣诞节计算机音乐,圣诞节音乐

热门文章

  1. 辗转相除求最大公约数最小公倍数 扩展欧几里得算法
  2. 关于request.getServletPath(),request.getContextPath()的总结
  3. java使用properties_Java中使用Properties配置文件的简单方法
  4. 怎样给oracle表设置序列,Oracle的sequence序列在hibernate中的配置方法
  5. vue-router 跳转原理
  6. 面试题:二叉树中和为某一路径
  7. WDA 程序文本翻译OTR
  8. 加速Java应用开发速度3——单元/集成测试+CI
  9. 聚合函数查询 group by having
  10. OstrichNet 简易统计信息收集工具