mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
add setuidOwners programs automatically to setuid list
It should be enough to specify them once svn path=/nixos/trunk/; revision=12640
This commit is contained in:
parent
b69efea5a7
commit
f1be382d71
@ -267,7 +267,8 @@ rec {
|
||||
config.security.extraSetuidPrograms ++
|
||||
pkgs.lib.optional config.security.sudo.enable "sudo" ++
|
||||
pkgs.lib.optionals config.services.atd.enable ["at" "atq" "atrm"] ++
|
||||
pkgs.lib.optional (config.services.xserver.sessionType == "kde") "kcheckpass";
|
||||
pkgs.lib.optional (config.services.xserver.sessionType == "kde") "kcheckpass" ++
|
||||
map ( x : x.program ) config.security.setuidOwners;
|
||||
|
||||
inherit (usersGroups) createUsersGroups usersList groupsList;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user