惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
博客园 - 【当耐特】
M
MIT News - Artificial intelligence
月光博客
月光博客
博客园_首页
博客园 - 叶小钗
T
Tailwind CSS Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
InfoQ
量子位
小众软件
小众软件
爱范儿
爱范儿
The GitHub Blog
The GitHub Blog
IT之家
IT之家
Jina AI
Jina AI
阮一峰的网络日志
阮一峰的网络日志
G
Google Developers Blog
WordPress大学
WordPress大学
人人都是产品经理
人人都是产品经理
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
云风的 BLOG
云风的 BLOG
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

博客园 - xiaobin80

Development Environment Preparation Clang IDE的选择在Windows Visual Studio 2017 and Fx EOL 跟我学python(5)- 匹配数字 跟我学python(4)- 正则 跟我学python(3)--- 带shell功能的hello world 跟我学python(2)- 第一个程序 跟我学python --- 搭建开发平台 Debian server 安装 Try Value 计算文件CRC32数值 docker ce on Debian 使用hugo在gitee上写blog spring cloud gateway - RequestRateLimiter postman使用 改进的冒泡算法 Create User - mysql COM调用 – VB、PB J-Link clone问题 修复山寨版的J-Link
debian 与 ubuntu 之 - sudo
xiaobin80 · 2025-12-30 · via 博客园 - xiaobin80

sudo.d(directory):

Note also, that becasuse sudoers contents can vary widely, no attempt is made to add this 
directive to existing sudoers files on upgrade. Feel free to add the above directive to the 
end of your /etc/sudoers file to enabe this functionality for existing installations if you 
wish! Sudo versions older than the one in Debian 11(bullseye) require the directive will only 
support the old syntax #includedir, and the current sudo will happily accept both @includedir 
and #includedir

install

using root:

su - root

install:

apt install sudo

manual

chmod 640 /etc/sudoers
nano /etc/sudoers

在配置文件/etc/sudoers加入:

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

把文件权限改为只读:

chmod 440 /etc/sudoers