public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Boyd Stephen Smith Jr." <bss03@volumehost.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] sudo requires password twice
Date: Thu, 5 Oct 2006 19:46:12 -0500	[thread overview]
Message-ID: <200610051946.12511.bss03@volumehost.net> (raw)
In-Reply-To: <200610052138.k95Lcraq003011@robin.gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]

On Thursday 05 October 2006 16:36, "Daevid Vincent" <daevid@daevid.com> 
wrote about 'RE: [gentoo-user] sudo requires password twice':
> I've not figured this out yet, so reposting in case someone has any
> ideas...

Hrm, I either never got the original (not surprising) of I was just 
skimming my mail to quickly and missed your question (even less 
surprising).

> auth       required     /lib/security/pam_stack.so service=system-auth

This line...

> auth            include         system-auth

and this one are redundant.  They both run through the system-auth chain as 
part of authentication.  In effect you are telling PAM that any sudo 
authentication needs to do system authentication twice w/ whatever 
pam_nologin does in between.

You'll want to remove one or the other, after investigating any subtle 
differences between the two that I'm unaware of, which may or may not 
exist.  (I haven't messed with PAM in months.)

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-10-06  0:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-09 21:46 [gentoo-user] sudo requires password twice Daevid Vincent
2006-06-12  5:44 ` Daevid Vincent
2006-10-05 21:36   ` Daevid Vincent
2006-10-06  0:46     ` Boyd Stephen Smith Jr. [this message]
2006-11-08  2:39       ` Daevid Vincent
2006-11-08  3:18         ` Boyd Stephen Smith Jr.

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=200610051946.12511.bss03@volumehost.net \
    --to=bss03@volumehost.net \
    --cc=gentoo-user@lists.gentoo.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox