aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-11-21 22:40:22 +0100
committerRicardo Wurmus <rekado@elephly.net>2015-11-29 20:33:35 +0100
commiteac26c3b09138f3ef22497fcf97212c376fc6d5c (patch)
tree573d73ef44ba0b3d62a8e7c6cb7db507a45e4f4b
parent25a21c7ff68a2e045ae8c5b8a464359e77781b5f (diff)
downloadpatches-eac26c3b09138f3ef22497fcf97212c376fc6d5c.tar
patches-eac26c3b09138f3ef22497fcf97212c376fc6d5c.tar.gz
services: Add pkexec to setuid programs.
* gnu/services/desktop.scm (polkit-setuid-programs): Add pkexec to list of setuid programs.
-rw-r--r--gnu/services/desktop.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 0b4ed56d05..694a8eda7e 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -381,7 +381,8 @@ site} for more information."
(match-lambda
(($ <polkit-configuration> polkit)
(list #~(string-append #$polkit
- "/lib/polkit-1/polkit-agent-helper-1")))))
+ "/lib/polkit-1/polkit-agent-helper-1")
+ #~(string-append #$polkit "/bin/pkexec")))))
(define polkit-service-type
(service-type (name 'polkit)