1 |
Just a little more info on this. I noticed on my server which I've not done |
2 |
the pam/shadow update emerge yet, this same anomolie occurs... Any ideas on |
3 |
why? |
4 |
|
5 |
> -----Original Message----- |
6 |
> From: Daevid Vincent [mailto:daevid@××××××.com] |
7 |
> Sent: Friday, June 09, 2006 2:46 PM |
8 |
> To: gentoo-user@l.g.o |
9 |
> Subject: [gentoo-user] sudo requires password twice |
10 |
> |
11 |
> I recently did an update world and had that 'pam'/'shadow' issue. |
12 |
> Followed these pages: |
13 |
> http://planet.gentoo.org/developers/flameeyes/2006/03/19/the_s |
14 |
> hadow_and_pam_ |
15 |
> login_conflict |
16 |
> http://www.mail-archive.com/gentoo-user@l.g.o/msg35692.html |
17 |
> |
18 |
> Everything seems fine. |
19 |
> I've rebooted many times since. |
20 |
> I can login from ssh or console. |
21 |
> |
22 |
> One odd behaviour: |
23 |
> |
24 |
> daevid@locutus ~ $ sudo ifconfig |
25 |
> Password: |
26 |
> Password: |
27 |
> eth0 Link encap:Ethernet HWaddr 00:08:74:E0:5C:3B |
28 |
> inet addr:172.16.35.234 Bcast:172.16.63.255 |
29 |
> Mask:255.255.224.0 |
30 |
> ... |
31 |
> |
32 |
> Whenever I first type 'sudo' I am prompted twice?! Then of course sudo |
33 |
> remembers me for 5 minutes or whatever the timeout is, so |
34 |
> subsequent 'sudo' |
35 |
> calls are not prompted. |
36 |
> |
37 |
> I don't know if this is relevant, but perhaps it has to do |
38 |
> with the pam |
39 |
> thing above? |
40 |
> |
41 |
> locutus ~ # cat /etc/pam.d/sudo |
42 |
> # File autogenerated by pamd_mimic_system in pam eclass |
43 |
> |
44 |
> auth required /lib/security/pam_stack.so service=system-auth |
45 |
> auth required /lib/security/pam_nologin.so |
46 |
> |
47 |
> auth include system-auth |
48 |
> account include system-auth |
49 |
> password include system-auth |
50 |
> session include system-auth |
51 |
> |
52 |
> ÐÆ5ÏÐ |
53 |
> |
54 |
> |
55 |
> -- |
56 |
> gentoo-user@g.o mailing list |
57 |
> |
58 |
> |
59 |
|
60 |
|
61 |
-- |
62 |
gentoo-user@g.o mailing list |