From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2N9mDiIdpGZ8gwEA62LTzQ:P1 (envelope-from ) for ; Fri, 26 Jul 2024 22:03:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2N9mDiIdpGZ8gwEA62LTzQ (envelope-from ) for ; Sat, 27 Jul 2024 00:03:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=MkmZB2V2; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722031394; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=QP5rl27go+AiZYqSkqlSi5LE6DPZkQgRSlhXihTlQDw=; b=c6UunUzivlFr8laMFVMRmR315otoMAtlNUH91iYRGJKMBJD+3DOgmUQB033NtVsU6mDKn8 aD1xMfuPQF06eEZimTTVwn9VtxLj152T6CkKEHB74xrsZlKscTTgXof7SWA8bngmzspcUI 9pbhwmpKLVMrkxpZVDE5lCuWggocuZgfyqx+sAPS3s2V51IPMLmjNmfTybIO3A05V0VmtV K0wGPQVWm0+ojqpCy/xBwqpwfR8++W8ThOAg0h2OFdlzj8OIZMYaxT6iROKsFKHZldV0NA BFqIt3OQIvunV29hIp7RJcVrXNH2GxOLei17QSPqW/Y8iHzxP7VuCMWXh9SJhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=MkmZB2V2; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722031394; a=rsa-sha256; cv=none; b=usDpjG68sXX9aoOgcYbXSpVyU4UR5yuzd1y6OvCEOH/MHwxU3wC1DINXkgqVozCxVFgQVb gj5F6sbwi/CzfSObXIbzm5yTzQingXD3zFFU+rT1RQieUVEm6R91o1gGmeHnqlmRBn/5Lc EcbgaKKAhfSt4T+N5WJn39e+OvuPT9k794EI8zzxgRt3U2x10iV0voDZeWalzKXLMqPqK0 YNKwOoURdXoYPLHMymJvHKyQqUB8UeVukNMCTMjoPjwmU4b4jjR5/98JntuLGNSQBNNGxq jNDv3gSTd95DIc1yFpMD9O4aTjmSZrJLnMUZ91fA55XooMr5jCd/OfkAkiAxQw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A97E36501E for ; Sat, 27 Jul 2024 00:03:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXT1f-0003sr-HG; Fri, 26 Jul 2024 18:02:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sXT1c-0003sF-Cp for guix-patches@gnu.org; Fri, 26 Jul 2024 18:02:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sXT1b-0004Ph-Am; Fri, 26 Jul 2024 18:02:55 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXT1i-0007g7-J3; Fri, 26 Jul 2024 18:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72316] [PATCH 0/3] Switch to Guile-PAM. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: pelzflorian@pelzflorian.de, ludo@gnu.org, matt@excalamus.com, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 26 Jul 2024 22:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72316 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72316@debbugs.gnu.org Cc: Felix Lechner , Florian Pelz , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Matthew Trzcinski , Maxim Cournoyer X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Florian Pelz , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Matthew Trzcinski , Maxim Cournoyer Received: via spool by submit@debbugs.gnu.org id=B.172203135429474 (code B ref -1); Fri, 26 Jul 2024 22:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jul 2024 22:02:34 +0000 Received: from localhost ([127.0.0.1]:40191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXT1G-0007fJ-8q for submit@debbugs.gnu.org; Fri, 26 Jul 2024 18:02:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:59022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXT1C-0007fA-V6 for submit@debbugs.gnu.org; Fri, 26 Jul 2024 18:02:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sXT13-0003nq-95 for guix-patches@gnu.org; Fri, 26 Jul 2024 18:02:21 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1sXT11-0003OO-6G for guix-patches@gnu.org; Fri, 26 Jul 2024 18:02:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=aLb5EhjwKjM6oz8 sGKcEXcEm1vCO8nFEJfulPcZNyoc=; h=date:subject:cc:to:from; d=lease-up.com; b=MkmZB2V21d+7MN7Oj5sLmEdoUFqlINtukOOuX887h/TcN/GPZTy2 4Nfg7yDpPFElw0LFZNukQOD7wL1Czig4LaHRBGjeAhUQP/9U9jN8Lw+tSXI5bDRle/sak+ MUQODRJAQxDdB32h/8rKGXyyiOSeuw8S/XUc/bfrV42U8aiOU= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 86eda0d3 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Fri, 26 Jul 2024 22:02:15 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id f9cc9975; Fri, 26 Jul 2024 22:02:15 +0000 (UTC) Date: Fri, 26 Jul 2024 15:01:08 -0700 Message-ID: X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@us-core.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches From: Felix Lechner via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: A97E36501E X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.82 X-Spam-Score: -2.82 X-TUID: vyn11dSXCCIt Guile-PAM reimplements the PAM stack in GNU Guile and allows system administrators to write modules in GNU Guile. This patch series switches Guix System to Guile-PAM. It relies on the shared objects from Linux-PAM until Guile implementations are available. In Guix, Guile-PAM could start Shepherd's user services or keep track of login sessions similar to pam_systemd.so. The guile-pam package ships with a detailed Texinfo manual. The software is in alpha stage. For example, the interaction with sddm was not well-tested. Please let me know how it goes---private email is okay! Kind regards Felix Felix Lechner (3): Add guile-pam. Switch to Guile-PAM. Add a guile-pam-module service. doc/guix.texi | 89 ++++++++++ gnu/local.mk | 1 + gnu/packages/linux.scm | 56 ++++++ gnu/services/authentication.scm | 9 +- gnu/services/base.scm | 16 +- gnu/services/desktop.scm | 14 +- gnu/services/kerberos.scm | 12 +- gnu/services/lightdm.scm | 69 ++++++-- gnu/services/pam-mount.scm | 5 +- gnu/services/pam.scm | 105 +++++++++++ gnu/services/sddm.scm | 91 +++++++--- gnu/services/xorg.scm | 17 +- gnu/system/pam.scm | 296 ++++++++++++++++++++++++++------ 13 files changed, 671 insertions(+), 109 deletions(-) create mode 100644 gnu/services/pam.scm base-commit: 862a9b5b25966845f71d218ad8c0c5655ffc479a -- 2.45.2