1 |
I've not figured this out yet, so reposting in case someone has any ideas... |
2 |
|
3 |
I did find this link: |
4 |
http://www.mail-archive.com/openpkg-users@×××××××.org/msg01747.html |
5 |
|
6 |
But I tried to add this: |
7 |
|
8 |
auth required try_first_pass |
9 |
|
10 |
To my /etc/pam.d/sudo file and it didn't work. |
11 |
Did I do that wrong? |
12 |
|
13 |
This is my current file (default) |
14 |
|
15 |
# File autogenerated by pamd_mimic_system in pam eclass |
16 |
auth required /lib/security/pam_stack.so service=system-auth |
17 |
auth required /lib/security/pam_nologin.so |
18 |
auth include system-auth |
19 |
account include system-auth |
20 |
password include system-auth |
21 |
session include system-auth |
22 |
|
23 |
And I'm using app-admin/sudo 1.6.8_p9-r2 and sys-libs/pam 0.78-r5 |
24 |
|
25 |
DÆVID |
26 |
|
27 |
> -----Original Message----- |
28 |
> From: Daevid Vincent [mailto:daevid@××××××.com] |
29 |
> Sent: Sunday, June 11, 2006 10:44 PM |
30 |
> To: gentoo-user@l.g.o |
31 |
> Subject: RE: [gentoo-user] sudo requires password twice |
32 |
> |
33 |
> Just a little more info on this. I noticed on my server which |
34 |
> I've not done |
35 |
> the pam/shadow update emerge yet, this same anomolie |
36 |
> occurs... Any ideas on |
37 |
> why? |
38 |
> |
39 |
> > -----Original Message----- |
40 |
> > From: Daevid Vincent [mailto:daevid@××××××.com] |
41 |
> > Sent: Friday, June 09, 2006 2:46 PM |
42 |
> > To: gentoo-user@l.g.o |
43 |
> > Subject: [gentoo-user] sudo requires password twice |
44 |
> > |
45 |
> > I recently did an update world and had that 'pam'/'shadow' issue. |
46 |
> > Followed these pages: |
47 |
> > http://planet.gentoo.org/developers/flameeyes/2006/03/19/the_s |
48 |
> > hadow_and_pam_ |
49 |
> > login_conflict |
50 |
> > |
51 |
> http://www.mail-archive.com/gentoo-user@l.g.o/msg35692.html |
52 |
> > |
53 |
> > Everything seems fine. |
54 |
> > I've rebooted many times since. |
55 |
> > I can login from ssh or console. |
56 |
> > |
57 |
> > One odd behaviour: |
58 |
> > |
59 |
> > daevid@locutus ~ $ sudo ifconfig |
60 |
> > Password: |
61 |
> > Password: |
62 |
> > eth0 Link encap:Ethernet HWaddr 00:08:74:E0:5C:3B |
63 |
> > inet addr:172.16.35.234 Bcast:172.16.63.255 |
64 |
> > Mask:255.255.224.0 |
65 |
> > ... |
66 |
> > |
67 |
> > Whenever I first type 'sudo' I am prompted twice?! Then of |
68 |
> course sudo |
69 |
> > remembers me for 5 minutes or whatever the timeout is, so |
70 |
> > subsequent 'sudo' |
71 |
> > calls are not prompted. |
72 |
> > |
73 |
> > I don't know if this is relevant, but perhaps it has to do |
74 |
> > with the pam |
75 |
> > thing above? |
76 |
> > |
77 |
> > locutus ~ # cat /etc/pam.d/sudo |
78 |
> > # File autogenerated by pamd_mimic_system in pam eclass |
79 |
> > |
80 |
> > auth required /lib/security/pam_stack.so |
81 |
> service=system-auth |
82 |
> > auth required /lib/security/pam_nologin.so |
83 |
> > |
84 |
> > auth include system-auth |
85 |
> > account include system-auth |
86 |
> > password include system-auth |
87 |
> > session include system-auth |
88 |
> > |
89 |
> > ÐÆ5ÏÐ |
90 |
> > |
91 |
> > |
92 |
> > -- |
93 |
> > gentoo-user@g.o mailing list |
94 |
> > |
95 |
> > |
96 |
> |
97 |
> |
98 |
> -- |
99 |
> gentoo-user@g.o mailing list |
100 |
> |
101 |
> |
102 |
|
103 |
|
104 |
-- |
105 |
gentoo-user@g.o mailing list |