Description of problem: If an error is found by 'visudo', it gives an error with the line number. However, it fails to count lines continued with backslashes, which are used in the installed defaults. It also starts off counting the first line as 2. My guess is that the latter is a known problem, because the error message states "... near line %d", but maybe this could be fixed as well. Version-Release number of selected component (if applicable): sudo-1.6.8p12-14.fc7 How reproducible: Always Steps to Reproduce: 1. run visudo 2. put an intentional typo at the end of the file 3. save Actual results: >>> sudoers file: syntax error, line 89 <<< Expected results: >>> sudoers file: syntax error, line 94 <<< Additional info:
*** This bug has been marked as a duplicate of 428546 ***