Gentoo Archives: gentoo-user

From: maxim wexler <blissfix@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works
Date: Sat, 26 May 2007 23:34:56
Message-Id: 992443.71395.qm@web31714.mail.mud.yahoo.com
In Reply to: [gentoo-user] Re: two identical /etc/sudoers -- only one works by Christer Ekholm
1 > root. Look for other occurences of geteuid in
2 > strace output.
3
4 Most similar instance is following the line:
5 <...>
6 readlink("/proc/self/fd/0, "/dev/tty2", 4095) = 9
7 getuid32() = 0
8 ^
9 note: no 'e'
10
11 >
12 > Check also that root actually has uid=0 on that
13 > machine.
14 >
15 > $ getent passwd | grep ^root
16 > root:x:0:0:root:/root:/bin/bash
17
18 checks OK
19
20 FWIW, scrolling to the top of the output of strace --
21 how do I write strace to a file? -- there is the line:
22
23 close(393) =-1 EBADF (Bad file descriptor)
24
25 followed by 630 similar lines ending in 'close(1023)
26 ditto' then the "body" of the output.
27
28 mw
29
30
31
32 ____________________________________________________________________________________Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
33 http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
34 --
35 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: two identical /etc/sudoers -- only one works Christer Ekholm <che@××××××.se>
[gentoo-user] Re: two identical /etc/sudoers -- only one works Christer Ekholm <che@××××××.se>