summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-11 21:53:20 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-12 00:14:52 +0200
commitf9d53de1054961208b153081a82037619419f25a (patch)
tree3600448ba51209ebc96e1da5af93f2923bc267b2 /gnu/system
parentc6a0536d08e225c6c67647b17f6f0a60b2314752 (diff)
downloadguix-patches-f9d53de1054961208b153081a82037619419f25a.tar
guix-patches-f9d53de1054961208b153081a82037619419f25a.tar.gz
system: Add default PAM entries for xlock and xscreensaver.
* gnu/system/linux.scm (base-pam-services): Add "xlock" and "xscreensaver".
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/linux.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/system/linux.scm b/gnu/system/linux.scm
index 524ad01261..8cddedf28e 100644
--- a/gnu/system/linux.scm
+++ b/gnu/system/linux.scm
@@ -175,7 +175,8 @@ authenticate to run COMMAND."
;; These programs are setuid-root.
(map (cut unix-pam-service <>
#:allow-empty-passwords? allow-empty-passwords?)
- '("su" "passwd" "sudo"))
+ '("su" "passwd" "sudo"
+ "xlock" "xscreensaver"))
;; These programs are not setuid-root, and we want root to be able
;; to run them without having to authenticate (notably because