system: Add default PAM entries for xlock and xscreensaver.

* gnu/system/linux.scm (base-pam-services): Add "xlock" and
  "xscreensaver".
This commit is contained in:
Ludovic Courtès 2014-09-11 21:53:20 +02:00
parent c6a0536d08
commit f9d53de105
1 changed files with 2 additions and 1 deletions

View File

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