From f1be382d71f0f7a5be4f3ed63189d408e0d82d75 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Sat, 16 Aug 2008 00:59:23 +0000 Subject: [PATCH] add setuidOwners programs automatically to setuid list It should be enough to specify them once svn path=/nixos/trunk/; revision=12640 --- system/system.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/system.nix b/system/system.nix index a5059797735e..3c3cc21de57d 100644 --- a/system/system.nix +++ b/system/system.nix @@ -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;