From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GVb2G-0004L8-JJ for garchives@archives.gentoo.org; Thu, 05 Oct 2006 21:45:45 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k95Lhud1026767; Thu, 5 Oct 2006 21:43:56 GMT Received: from outbound.mailhop.org (outbound.mailhop.org [63.208.196.171]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k95Lcraq003011 for ; Thu, 5 Oct 2006 21:38:53 GMT Message-Id: <200610052138.k95Lcraq003011@robin.gentoo.org> Received: from c-24-17-252-74.hsd1.wa.comcast.net ([24.17.252.74] helo=daevid.com) by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.51) id 1GVavc-00039e-7x for gentoo-user@lists.gentoo.org; Thu, 05 Oct 2006 17:38:52 -0400 Received: from red.lockdownnetworks.com ([67.105.193.226] helo=gabriel) by daevid.com with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.54) id 1GVavb-0003Nf-CK for gentoo-user@lists.gentoo.org; Thu, 05 Oct 2006 14:38:51 -0700 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 24.17.252.74 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: DAE51D From: "Daevid Vincent" To: Subject: RE: [gentoo-user] sudo requires password twice Date: Thu, 5 Oct 2006 14:36:50 -0700 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AcaMDhjKuDuJhwt4SR+j11xAxlSRCAB1RNqAFripr4A= In-Reply-To: <003301c68de3$5447c4c0$450a0a0a@locutus> X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k95Lcraq003011 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k95LhudF026767 X-Archives-Salt: 005f0aed-1b5d-4627-b679-c30176bc4153 X-Archives-Hash: 6600b66f0a5d229fa68b96b4670f8641 I've not figured this out yet, so reposting in case someone has any ideas= ... I did find this link: http://www.mail-archive.com/openpkg-users@openpkg.org/msg01747.html But I tried to add this: auth required try_first_pass To my /etc/pam.d/sudo file and it didn't work. Did I do that wrong? This is my current file (default) # File autogenerated by pamd_mimic_system in pam eclass auth required /lib/security/pam_stack.so service=3Dsystem-auth auth required /lib/security/pam_nologin.so auth include system-auth account include system-auth password include system-auth session include system-auth And I'm using app-admin/sudo 1.6.8_p9-r2 and sys-libs/pam 0.78-r5 D=C6VID =20 > -----Original Message----- > From: Daevid Vincent [mailto:daevid@daevid.com]=20 > Sent: Sunday, June 11, 2006 10:44 PM > To: gentoo-user@lists.gentoo.org > Subject: RE: [gentoo-user] sudo requires password twice >=20 > Just a little more info on this. I noticed on my server which=20 > I've not done > the pam/shadow update emerge yet, this same anomolie=20 > occurs... Any ideas on > why?=20 >=20 > > -----Original Message----- > > From: Daevid Vincent [mailto:daevid@daevid.com]=20 > > Sent: Friday, June 09, 2006 2:46 PM > > To: gentoo-user@lists.gentoo.org > > Subject: [gentoo-user] sudo requires password twice > >=20 > > I recently did an update world and had that 'pam'/'shadow' issue.=20 > > Followed these pages: > > http://planet.gentoo.org/developers/flameeyes/2006/03/19/the_s > > hadow_and_pam_ > > login_conflict > >=20 > http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg35692.html > >=20 > > Everything seems fine.=20 > > I've rebooted many times since.=20 > > I can login from ssh or console.=20 > >=20 > > One odd behaviour: > >=20 > > daevid@locutus ~ $ sudo ifconfig > > Password: > > Password: > > eth0 Link encap:Ethernet HWaddr 00:08:74:E0:5C:3B =20 > > inet addr:172.16.35.234 Bcast:172.16.63.255 =20 > > Mask:255.255.224.0 > > ... > >=20 > > Whenever I first type 'sudo' I am prompted twice?! Then of=20 > course sudo > > remembers me for 5 minutes or whatever the timeout is, so=20 > > subsequent 'sudo' > > calls are not prompted. > >=20 > > I don't know if this is relevant, but perhaps it has to do=20 > > with the pam > > thing above? > >=20 > > locutus ~ # cat /etc/pam.d/sudo > > # File autogenerated by pamd_mimic_system in pam eclass > >=20 > > auth required /lib/security/pam_stack.so=20 > service=3Dsystem-auth > > auth required /lib/security/pam_nologin.so > >=20 > > auth include system-auth > > account include system-auth > > password include system-auth > > session include system-auth > >=20 > > =D0=C65=CF=D0=20 > >=20 > >=20 > > --=20 > > gentoo-user@gentoo.org mailing list > >=20 > >=20 >=20 >=20 > --=20 > gentoo-user@gentoo.org mailing list >=20 >=20 --=20 gentoo-user@gentoo.org mailing list