Gentoo Archives: gentoo-user

From: Christer Ekholm <che@××××××.se>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: two identical /etc/sudoers -- only one works
Date: Sat, 26 May 2007 21:37:41
Message-Id: 86r6p31dbn.fsf@poke.chrekh.se
In Reply to: Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works by maxim wexler
1 maxim wexler <blissfix@×××××.com> writes:
2
3 > strace:
4 > <...>
5 > open("/etc/sudoers", O_RDONLY) = -1 EACCES
6 > (Permission denied)
7 > geteuid32() = 1
8
9 hmm, strange, geteuid should return euid which should be zero for
10 root. Look for other occurences of geteuid in strace output.
11
12 Check also that root actually has uid=0 on that machine.
13
14 $ getent passwd | grep ^root
15 root:x:0:0:root:/root:/bin/bash
16
17 --
18 Christer
19
20 --
21 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works maxim wexler <blissfix@×××××.com>