On Sat, 16 Jan 2010 22:23:32 +0100 (CET), Cristian Ionescu-Idbohrn 
<cristian.ionescu-idbo...@axis.com> wrote:
> | # sudo -i
> | sudo: /etc/sudoers.d/local is mode 0644, should be 0440
> | >>> /etc/sudoers.d/README: /etc/sudoers.d/local near line 18 <<<
> | sudo: parse error in /etc/sudoers.d/README near line 18
> | sudo: no valid sudoers sources found, quitting
> | *** glibc detected *** sudo: double free or corruption (!prev):
> | 0x081f2b00 ***

I can't reproduce the glibc error, but you are correct that having a
file in /etc/sudoers.d with too-open permissions "breaks" sudo in that
it will report the error and not run the requested command.  

I'll forward that part of your bug report upstream for consideration.
In the meantime, the workaround is clearly to be very careful about
permissions on the files in /etc/sudoders.d ...

Bdale

Attachment: pgpT1nG3bYH5K.pgp
Description: PGP signature

Reply via email to