emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62699: closed ([PATCH] services: add pam-mount-volume-service-type)


From: GNU bug Tracking System
Subject: bug#62699: closed ([PATCH] services: add pam-mount-volume-service-type)
Date: Wed, 09 Aug 2023 10:31:02 +0000

Your message dated Wed, 09 Aug 2023 12:30:23 +0200
with message-id <87fs4spkxs.fsf@gnu.org>
and subject line Re: bug#62699: [PATCH v2] services: add 
pam-mount-volume-service-type
has caused the debbugs.gnu.org bug report #62699,
regarding [PATCH] services: add pam-mount-volume-service-type
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62699: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62699
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] services: add pam-mount-volume-service-type Date: Thu, 06 Apr 2023 12:43:55 -0400 User-agent: mu4e 1.10.0; emacs 28.2

This patch allows adding additional volumes to be mounted at login time via PAM by way of ‘pam-mount-volume-service-type’. As an example usage, I use it to mount a CIFS share which requires authentication automatically on login without having to type my password twice (since my local system has the same username and password as the system hosting my CIFS share).

-bjc



--- End Message ---
--- Begin Message --- Subject: Re: bug#62699: [PATCH v2] services: add pam-mount-volume-service-type Date: Wed, 09 Aug 2023 12:30:23 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Hello,

Brian Cully <bjc@spork.org> skribis:

> The `pam-mount-volumes-service-type' adds additional volumes to the
> pam-mount-service-type in addition to any that are already specified in
> `pam-mount-rules'.
>
> * doc/guix.texi (PAM Mount Volume Service): add documentation for
> `pam-mount-service-type'.
> * gnu/services/pam-mount.scm: new file.
> * Makefile.am: add pam-mount tests
> * tests/services/pam-mount.scm: new tests

Applied with the changes below.

Thanks!

Ludo’.

diff --git a/gnu/services/pam-mount.scm b/gnu/services/pam-mount.scm
index 8a38d6b1cc..dbb9d0285f 100644
--- a/gnu/services/pam-mount.scm
+++ b/gnu/services/pam-mount.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2023 Brian Cully <bjc@spork.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -220,4 +221,6 @@ (define pam-mount-volume-service-type
                 (extend append)
                 (default-value '())
                 (description
-                 "Volumes to be mounted during PAM-assisted login.")))
+                 "Mount remote volumes such as CIFS shares @i{via}
+@acronym{PAM, Pluggable Authentication Modules} when logging in, using login
+credentials.")))

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]