Sudo: Difference between revisions
imported>Onny Initial page |
imported>Onny Add workaround for NOPASSWD in NixOS 23.11 |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[https://www.sudo.ws | [https://www.sudo.ws Sudo] allows a system administrator to delegate authority to give certain users - or groups of users - the ability to run commands as root or another user while providing an audit trail of the commands and their arguments. | ||
== Usage == | == Usage == | ||
Line 25: | Line 25: | ||
groups = [ "wheel" ]; | groups = [ "wheel" ]; | ||
}]; | }]; | ||
extraConfig = with pkgs; '' | |||
Defaults:picloud secure_path="${lib.makeBinPath [ | |||
systemd | |||
]}:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin" | |||
''; | |||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Security]] | [[Category:Security]] |