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:
parent
c6a0536d08
commit
f9d53de105
|
@ -175,7 +175,8 @@ authenticate to run COMMAND."
|
||||||
;; These programs are setuid-root.
|
;; These programs are setuid-root.
|
||||||
(map (cut unix-pam-service <>
|
(map (cut unix-pam-service <>
|
||||||
#:allow-empty-passwords? allow-empty-passwords?)
|
#: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
|
;; These programs are not setuid-root, and we want root to be able
|
||||||
;; to run them without having to authenticate (notably because
|
;; to run them without having to authenticate (notably because
|
||||||
|
|
Loading…
Reference in New Issue