security.sudo.extraRules.*.runAs
NixOS option
Under which user/group the specified command is allowed to run. A user can be specified using just the username: "foo". It is also possible to specify a user/group combination using "foo:bar" or to only allow running as a specific group with ":bar".
type: stringDefault
declared in: nixos/modules/security/sudo.nixView source on NixOS/nixpkgs →"ALL:ALL"