Gentoo Archives: gentoo-user

From: Christer Ekholm <che@××××××.se>
To: gentoo-user@l.g.o
Cc: Walter Dnes <waltdnes@××××××××.org>
Subject: [gentoo-user] Re: two identical /etc/sudoers -- only one works
Date: Fri, 25 May 2007 18:26:16
Message-Id: 864pm03h1f.fsf@poke.chrekh.se
In Reply to: Re: [gentoo-user] two identical /etc/sudoers -- only one works by Walter Dnes
1 "Walter Dnes" <waltdnes@××××××××.org> writes:
2
3 > On Wed, May 23, 2007 at 06:14:53PM -0700, maxim wexler wrote
4 >> Hi group,
5 >>
6 >> I connect to the web using
7 >>
8 >> $sudo /usr/sbin/pon <isp>
9 >>
10 >> on one machine(2.6.20-gentoo-r6). On another
11 >> machine(2.6.19-gentoo-r5), I get
12 >>
13 >> :sudo: can't open /etc/sudoers: Permission denied.
14 >
15
16 The message suggest that the process of cudo actually don~t have
17 permission to open the sudoers file. Check that the sudo-program
18 (type sudo) is in fact owned by root, and has the setuid-bit set.
19
20 $ls -l `which sudo`
21 ---s--x--x 1 root root 107240 2007-05-21 11:11 /usr/bin/sudo*
22 ^ ^
23 setuid root
24
25 --
26 Christer
27
28 --
29 gentoo-user@g.o mailing list

Replies

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