Gentoo Archives: gentoo-user

From: Daevid Vincent <daevid@××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] sudo requires password twice
Date: Fri, 09 Jun 2006 22:01:24
Message-Id: 200606092146.k59LkLxD027544@robin.gentoo.org
1 I recently did an update world and had that 'pam'/'shadow' issue.
2 Followed these pages:
3 http://planet.gentoo.org/developers/flameeyes/2006/03/19/the_shadow_and_pam_
4 login_conflict
5 http://www.mail-archive.com/gentoo-user@l.g.o/msg35692.html
6
7 Everything seems fine.
8 I've rebooted many times since.
9 I can login from ssh or console.
10
11 One odd behaviour:
12
13 daevid@locutus ~ $ sudo ifconfig
14 Password:
15 Password:
16 eth0 Link encap:Ethernet HWaddr 00:08:74:E0:5C:3B
17 inet addr:172.16.35.234 Bcast:172.16.63.255 Mask:255.255.224.0
18 ...
19
20 Whenever I first type 'sudo' I am prompted twice?! Then of course sudo
21 remembers me for 5 minutes or whatever the timeout is, so subsequent 'sudo'
22 calls are not prompted.
23
24 I don't know if this is relevant, but perhaps it has to do with the pam
25 thing above?
26
27 locutus ~ # cat /etc/pam.d/sudo
28 # File autogenerated by pamd_mimic_system in pam eclass
29
30 auth required /lib/security/pam_stack.so service=system-auth
31 auth required /lib/security/pam_nologin.so
32
33 auth include system-auth
34 account include system-auth
35 password include system-auth
36 session include system-auth
37
38 ÐÆ5ÏÐ
39
40
41 --
42 gentoo-user@g.o mailing list

Replies

Subject Author
RE: [gentoo-user] sudo requires password twice Daevid Vincent <daevid@××××××.com>