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

推荐订阅源

Microsoft Security Blog
Microsoft Security Blog
WordPress大学
WordPress大学
Stack Overflow Blog
Stack Overflow Blog
D
DataBreaches.Net
罗磊的独立博客
博客园 - 司徒正美
Last Week in AI
Last Week in AI
The Cloudflare Blog
大猫的无限游戏
大猫的无限游戏
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog RSS Feed
The GitHub Blog
The GitHub Blog
宝玉的分享
宝玉的分享
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
小众软件
小众软件
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hugging Face - Blog
Hugging Face - Blog
B
Blog
博客园 - 【当耐特】
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell

博客园 - 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