Home
Random
Log in
Settings
About the NixOS Wiki
Official NixOS Wiki
Search
Translations
:
Sudo/2/zh
Language
Watch
View source
Revision as of 11:14, 8 October 2025 by
Ardenet
(
talk
|
contribs
)
(Created page with "== 用法 == 为示例用户 <code>myuser</code> 启用 sudo。<syntaxhighlight lang="nix"> users.users.myuser.extraGroups = [ "wheel" ]; </syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
用法
为示例用户
myuser
启用 sudo。
users
.
users
.
myuser
.
extraGroups
=
[
"wheel"
];