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:~#
相关推荐
.小小陈.1 小时前
Linux 线程概念与控制:从底层原理到实战应用
linux·运维·jvm
网络工程小王1 小时前
【LangChain 大模型6大调用指南】调用大模型篇
linux·运维·服务器·人工智能·学习
wangbing11252 小时前
各linux版本的包管理命令
linux·运维·服务器
Joseph Cooper2 小时前
Linux/Android 跟踪技术:ftrace、TRACE_EVENT、atrace、systrace 与 perfetto 入门
android·linux·运维
比昨天多敲两行3 小时前
Linux基础开发工具(下)
linux·运维·服务器
feng14564 小时前
OpenSREClaw - 故障复盘和变更评审双 Agent 案例
运维·人工智能
linux修理工4 小时前
chrome官方下载地址
运维·服务器
无忧智库4 小时前
IT运维正在经历一场真正的范式革命:从告警风暴到AIOps自主自愈的完整工程解构(WORD)
运维
cn_lyg5 小时前
Linux的入门级常用操作命令
linux·运维·服务器
就叫飞六吧5 小时前
TOML vs YAML:为什么 Cargo 选择 TOML?
linux·运维·服务器