"Walter Dnes" <[EMAIL PROTECTED]> writes:

> On Wed, May 23, 2007 at 06:14:53PM -0700, maxim wexler wrote
>> Hi group,
>> 
>> I connect to the web using
>> 
>> $sudo /usr/sbin/pon <isp> 
>> 
>> on one machine(2.6.20-gentoo-r6). On another
>> machine(2.6.19-gentoo-r5), I get
>> 
>> :sudo: can't open /etc/sudoers: Permission denied.
>

The message suggest that the process of cudo actually don~t have
permission to open the sudoers file.  Check that the sudo-program
(type sudo) is in fact owned by root, and has the setuid-bit set.

$ls -l `which sudo`
---s--x--x 1 root root 107240 2007-05-21 11:11 /usr/bin/sudo*
   ^         ^
   setuid    root

--
 Christer

-- 
[EMAIL PROTECTED] mailing list

Reply via email to