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 小时前
uos基础 shells 查看支持的shell
运维
行初心2 小时前
uos基础 ps 查看进程
运维
ayaya_mana4 小时前
Linux告别搜索卡顿:解决“Argument list too long”与实现文件内容秒搜
linux·运维·list
Mr_Dwj5 小时前
【运维】Docker 入门
运维·docker·云原生·容器
奋斗的蛋黄5 小时前
CI/CD 全流程指南:从概念到落地的持续交付实践
运维·ci/cd·kubernetes
wanhengidc5 小时前
云手机是真实手机吗
运维·服务器·游戏·智能手机·云计算
wanhengidc5 小时前
云手机 服务器网络安全
运维·服务器·安全·web安全·智能手机·云计算
I · T · LUCKYBOOM6 小时前
构建软RAID磁盘阵列
linux·运维·服务器
l1l2x1x26 小时前
DNS配置作业
运维·服务器