Bug 354

Summary: A comment of the form #------ gives an error.
Product: Sudo Reporter: GhioraDrori <GhioraDrori>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: normal    
Version: 1.7.0   
Hardware: PC   
OS: Linux   

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 ***