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:
Marc Weber 2008-08-16 00:59:23 +00:00
parent b69efea5a7
commit f1be382d71

View File

@ -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;