diff mbox series

[bug#63955,5/5] system: pam: Fix unix pam module order.

Message ID 20230608151438.1280-5-wurt@wurtshell.com
State New
Headers show
Series [bug#63955,1/5] utils: Add insert-before. | expand

Commit Message

ashish.is--- via Guix-patches" via June 8, 2023, 3:14 p.m. UTC
From: Carlos Durán Domínguez <wurt@wurtshell.com>

---
 gnu/system/pam.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/gnu/system/pam.scm b/gnu/system/pam.scm
index 7198815ad6..5db195b72e 100644
--- a/gnu/system/pam.scm
+++ b/gnu/system/pam.scm
@@ -267,12 +267,12 @@  (module "pam_motd.so")
                                (control "required")
                                (module "pam_loginuid.so")))
                         '())
+                  ,env ,unix
                   ,@(if gnupg?
                         (list (pam-entry
                                (control "required")
                                (module (file-append pam-gnupg "/lib/security/pam_gnupg.so"))))
-                        '())
-                  ,env ,unix))))))
+                        '())))))))
 
 (define (rootok-pam-service command)
   "Return a PAM service for COMMAND such that 'root' does not need to