在sudoers中禁用#include指令


1

是否可以使用额外的#字符禁用#include指令的sudoers?或者只是删除前导#字符?

(我希望我能理解sudo开发人员在创建需要主要注释字符的指令时的想法。)

Answers:


2

是的,一行开头##include是评论而不是包含。见man sudoers

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.