[Experience sharing] uos基础 sudoers 查看sudo的配置文件
Tofloor
poster avatar
行初心
deepin
2025-11-14 19:10
Author

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

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

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:~#
Reply Favorite View the author
All Replies
hkent
deepin
2025-11-17 08:12
#1

不忘初心,科普频道开张拉,欢迎订阅。applaud

Reply View the author