me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/doc
muradm f4f5ee6ad6
services: screen-locker-service-type: Configurable PAM and setuid.
screen-locker-service-type by default does both define PAM entry
and make program setuid binary. Normally both methods are
mutually exclusive, if binary has setuid set it does not really
needs PAM, otherway around also similar, if PAM is enabled
binary should not relay on setuid.

Recent swaylock package now compiled with PAM support. When PAM
support is compiled in, swaylock rejects executing if binary is
also setuid program.

This change turns screen-locker-configuration from strict
PAM AND setuid to more flexible PAM AND/OR setuid. Allowing
swaylock to be configured properly while supporting other
screen locker preferences.

* gnu/services/xorg.scm (screen-locker-configuration): Switch from
define-record-type to define-configuration.
[using-pam?]: New field to control PAM entry existence.
[using-setuid?]: New field to control setuid binary existence.
(screen-locker-pam-services): Should not make unix-pam-service if
using-pam? is set to #f.
(screen-locker-setuid-programs): Should not make program setuid
program if using-setuid? is set to #f.
(screen-locker-generate-doc): Internal function to generate
configuration documentation.
(screen-locker-service): Adapt to new screen-locker-configuration.
* gnu/services/desktop.scm (desktop-services-for-system): Adapt to
new screen-locker-configuration.
* doc/guix.texi: Reflect new changes to screen-locker-configuration.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-06-04 10:33:55 +02:00
..
images doc: Add the "Full-source Bootstrap". 2022-05-12 19:27:59 +02:00
build.scm doc: Adjust HTML patterns to correctly process Texinfo 6.8 output. 2023-05-25 23:24:40 +02:00
contributing.texi doc: contributing.texi: Specify recipient via equal sign in 'git send-email --to'. 2023-05-24 15:04:00 +02:00
environment-gdb.scm doc: Update "guix shell -D -f" example to new input style. 2022-01-14 22:39:24 +01:00
fdl-1.3.texi
guix-cookbook.texi services: screen-locker-service-type: Configurable PAM and setuid. 2023-06-04 10:33:55 +02:00
guix.texi services: screen-locker-service-type: Configurable PAM and setuid. 2023-06-04 10:33:55 +02:00
he-config-bare-bones.scm doc: Update example of a minimalistic home environment. 2022-06-10 22:42:49 +02:00
htmlxref.cnf doc: Update URLs for the manual and cookbook translations. 2022-12-18 16:01:32 +01:00
local.mk doc: Build more man pages. 2022-11-19 19:54:14 +01:00
package-hello.json
package-hello.scm