summary refs log tree commit diff
path: root/tests/guix-hash.sh
diff options
context:
space:
mode:
authormuradm <mail@muradm.net>2023-05-13 21:38:00 +0300
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-05-23 20:26:19 -0400
commite02584b456a3f9c00b303ef4815d892a47edc2e6 (patch)
treeee74372a513d76089dc2a8caac3e58995da4256f /tests/guix-hash.sh
parent297ba5c15a32845ab8514aeb6f405ebd4290142d (diff)
downloadguix-e02584b456a3f9c00b303ef4815d892a47edc2e6.tar.gz
services: cups: Add cups PAM service.
Fixes <https://issues.guix.gnu.org/63198>.

Have the CUPS service extend pam-root-service-type providing minimal
configuration to authenticate users.  Since PAM authentication is provided,
the regular cups package can be used as default instead of the minimal,
PAM-lacking variant.

* gnu/services/cups.scm (cups-configuration)
[cups]: Replace cups-minimal with cups.
[allow-empty-password?]: PAM service configuration permitting empty passwords.
(opaque-cups-configuration): Likewise.
(cups-pam-service): New procedure.
(cups-service-type): Extend pam-root-service-type with cups-pam-service.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'tests/guix-hash.sh')
0 files changed, 0 insertions, 0 deletions