Sudo/zh: Difference between revisions
Created page with "[https://www.sudo.ws Sudo] 允许系统管理员委托权限,授予某些用户(或用户组)以 root 或其他用户身份运行命令的能力,同时提供命令及其参数的审计跟踪。" |
Created page with "通过简单的配置,将允许属于 <code>wheel</code> 组的所有用户以超级用户身份且无需提供该用户的密码使用 <code>sudo</code> 执行 <code>extraRules</code> 中指定的命令。" Tags: Mobile edit Mobile web edit |
||
| Line 6: | Line 6: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</div> | </div> | ||
通过简单的配置,将允许属于 <code>wheel</code> 组的所有用户以超级用户身份且无需提供该用户的密码使用 <code>sudo</code> 执行 <code>extraRules</code> 中指定的命令。 | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
security.sudo = { | security.sudo = { | ||