Bug 354 - A comment of the form #------ gives an error.
A comment of the form #------ gives an error.
Status: RESOLVED DUPLICATE of bug 341
Product: Sudo
Classification: Unclassified
Component: Sudo
1.7.0
PC Linux
: normal normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-20 13:57 MDT by GhioraDrori
Modified: 2009-05-20 14:05 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GhioraDrori 2009-05-20 13:57:39 MDT
Hi,
When I have a comment line of the form:

#-----

In the sudoers file and I type: sudo, I get an error:

$  sudo
>>> /etc/sudoers: syntax error near line 8 <<<
sudo: parse error in /etc/sudoers near line 8
sudo: no valid sudoers sources found, quitting

I am using a  gentoo system compiled a few days ago.
My guess a parser error which could make it a security issue.

Thanks Ghiora
Comment 1 Todd C. Miller 2009-05-20 14:05:13 MDT

*** This bug has been marked as a duplicate of bug 341 ***