From: John Darrington <john@darrington.wattle.id.au>
To: Leo Famulari <leo@famulari.name>
Cc: guix-devel@gnu.org, John Darrington <jmd@gnu.org>
Subject: Re: [PATCH 2/3] gnu: pam_unix.so Add use_first_pass option.
Date: Mon, 24 Oct 2016 06:56:28 +0200 [thread overview]
Message-ID: <20161024045627.GA12193@jocasta.intra> (raw)
In-Reply-To: <20161023214550.GD6318@jasmine>
[-- Attachment #1: Type: text/plain, Size: 1652 bytes --]
On Sun, Oct 23, 2016 at 05:45:50PM -0400, Leo Famulari wrote:
> diff --git a/gnu/system/pam.scm b/gnu/system/pam.scm
> index 4546c1a..0278db6 100644
> --- a/gnu/system/pam.scm
> +++ b/gnu/system/pam.scm
> @@ -217,7 +217,7 @@ should be a file-like object used as the message-of-the-day."
> (pam-entry
> (control "required")
> (module "pam_unix.so")
> - (arguments '("nullok")))
> + (arguments '("nullok" "use_first_pass")))
pam_unix(8) says:
use_first_pass
The argument use_first_pass forces the module to use a previous stacked modules
password and will never prompt the user - if no password is available or the
password is not appropriate, the user will be denied access.
I don't understand exactly what this means for GuixSD. Can you explain
it to us? :)
On its own it does nothing. It makes more sense in context with the other patch I sent.
With this option in place, one can extend the unix-pam-service with another pam service
(such as krb5-pam), and if the krb5 authentication fails (for example because I am not
at work) then the password I gave will be presented to the regular pam_unix login.
I won't be prompted for it again.
J'
--
Avoid eavesdropping. Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2016-10-24 4:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-22 15:27 [PATCH 1/3] gnu: Remove comment which is factually incorrect John Darrington
2016-10-22 15:27 ` [PATCH 2/3] gnu: pam_unix.so Add use_first_pass option John Darrington
2016-10-23 21:45 ` Leo Famulari
2016-10-24 4:56 ` John Darrington [this message]
2016-10-27 12:51 ` Ludovic Courtès
2016-10-28 5:22 ` John Darrington
2016-10-28 12:48 ` Ludovic Courtès
2016-10-22 15:28 ` [PATCH 3/3] gnu: Add pam-krb5 service John Darrington
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161024045627.GA12193@jocasta.intra \
--to=john@darrington.wattle.id.au \
--cc=guix-devel@gnu.org \
--cc=jmd@gnu.org \
--cc=leo@famulari.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.