Ubuntu中使用sudo执行命令提示:ubuntu is not in the sudoers file. This incident will be reported.
Ubuntu in The not is File 提示 be
2023-09-14 09:09:33 时间
一、问题描述
Ubuntu中使用sudo执行命令提示如下
ubuntu is not in the sudoers file. This incident will be reported.
二、问题分析
普通用户没有超级用户权限
三、解决方案
1、切换到root用户
su
2、修改用户的超级用户权限
visudo
在最后追加以下内容
ubuntu ALL=(ALL:ALL) NOPASSWD: ALL
相关文章
- Android源码浅析(二)——Ubuntu Root,Git,VMware Tools,安装输入法,主题美化,Dock,安装JDK和配置环境
- Ubuntu下使用git提交代码至GitHub
- ubuntu 安装redis
- linux(ubuntu 21.10): 安装phpmyadmin5.1.1 (php8.1.1)
- 解决Ubuntu环境变量错误导致无法正常登录 (command 'xxx' is available in bin ls)
- Ubuntu报“xxx is not in the sudoers file.This incident will be reported” 错误解决方法
- 【ubuntu】全站最详细Linux学习指南大全(建议添加收藏)
- 【亲测有效】Ubuntu系统开机速度慢解决办法
- 教你在VirtualBox 安装 Ubuntu 15.04
- How to get the window id of a window using c++ program in ubuntu?
- 如何在 Ubuntu 上安装和配置 Redis
- Ubuntu下is not in the sudoers file 问题解决
- Ubuntu Mir:走吐故纳新之路
- ubuntu 循环登录问题,
- Ubuntu下编译COM口相关程序,报错::-1: error: Unknown module(s) in QT: serialport
- Ubuntu下qt交叉编译报错::-1: error: Warning: File `Makefile‘ has modification time 0.43 s in the future
- 华为桌面云虚拟机如何安装Ubuntu 20.04.3-live-server
- 华为云的linux系统ubuntu R中跑velocyto.r
- vmware ubuntu 16.04 设置分辨率1920x1080
- Ubuntu 20.04 arm64 更新源
- Ubuntu下 安卓 adb 命令报:“insufficient permissions for device: user in plugdev group; ”问题的解决办法
- launch failed.Binary not found in Linux/Ubuntu解决方案
- Ubuntu系统开放指定端口
- 嵌入式Linux开发,Ubuntu下交叉编译报错:error while loading shared libraries: libc++.so: cannot open shared objec
- 02 从头开始atac项目 ubuntu20 install r4.2 Linux系统环境配置 服务器版本的rstudio r install in linux /ubuntu/centos