> Example:
>
> $ pwd
> /usr/bin
> $ ls -li sudo
> 8803772 ---s--x--x 2 root root 107240 2007-05-21
> 11:11 sudo*
> $ find . -inum 8803772
> ./sudo
> ./foo
> $ ls -li foo
> 8803772 ---s--x--x 2 root root 107240 2007-05-21
> 11:11 foo*
>
>
> Unfortunately I do not know what's wrong, try to
> strace sudo to see
> what it does, remember that you have to bee root to
> strace a setuid
> program. Look for
>
> open("/etc/sudoers", O_RDONLY) = 4
>
> The 4 is what filedescriptor open returned, and is
> -1 for a failed
> open.
>
strace:
<...>
open("/etc/sudoers", O_RDONLY) = -1 EACCES
(Permission denied)
geteuid32() = 1
setresuid32(0, 0, 0) = 0
write(2, "sudo: ", 6sudo: ) = 6
write(2, "can\'t open /etc/sudoers", 23can't open
/etc/sudoers) = 23
write(2, ": ", 2: ) = 2
write(2, "Permission denied\n", 18Permission denied
) = 18
<...>
[EMAIL PROTECTED] /usr/bin $ ls -li sudo
314108 ---s--x--x 2 root root 106160 Apr 11 09:26 sudo
[EMAIL PROTECTED] /usr/bin $ find . -inum 314108
./sudo
./sudoedit
[EMAIL PROTECTED] /usr/bin $ ls -li sudoedit
314108 ---s--x--x 2 root root 106160 Apr 11 09:26
sudoedit
[EMAIL PROTECTED] /usr/bin $
Just noticed this:
[EMAIL PROTECTED] ~ $ ls /
ls: cannot open directory /: Permission denied
[EMAIL PROTECTED] ~ $
picky can't even mount a floppy or write to it!
But picky's fstab is identical to heathen's.
Only thing I can think of: recently had to do emerge
--metadata on account of CacheCorruption error.
____________________________________________________________________________________
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
--
[EMAIL PROTECTED] mailing list