uos基础 sudoers 查看sudo的配置文件

统信桌面操作系统专业版V20(1070) Linux uos 5.10.97-arm64-desktop

uos基础 sudoers 查看sudo的配置文件

c 复制代码
root@uos:~# cat /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults        env_reset
Defaults        mail_badpass
Defaults        secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL:ALL) ALL

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d
root@uos:~#
相关推荐
青禾8375 小时前
Linux 操作系统入门指南:从目录结构到常用命令
linux·运维·服务器
zhengqweasd6 小时前
流量没跑满、带宽空闲,业务依然卡顿
运维·服务器·网络
Y3815326628 小时前
Docker Compose 服务依赖与健康检查:healthcheck 让容器按正确顺序启动
运维·docker·容器
稳联技术老娜8 小时前
伺服内嵌EtherNet IP方案:嵌入式小板SPI通讯固件Demo程序适配改造
运维·服务器·网络
en.en..8 小时前
Linux系统编程:fcntl 与 ioctl
linux·运维·服务器
荣合技术服务9 小时前
Codex 实战:用 AI 写运维脚本
运维·codex
李昊哲小课9 小时前
Deepin 25 上安装 Docker CE 实战记录
运维·docker·容器·deepin
pingglala10 小时前
ubuntu-nat模式不能上网解决方法
linux·运维·ubuntu
一技安身10 小时前
【信创】外网aarch64终端安装deepseek Ragflow 迁移至内网银河麒麟服务器
运维·服务器
考虑考虑11 小时前
ElasticSearch索引命令
运维·后端·elasticsearch