Bugzilla – Bug 79
visudo does not error with problem sudoers
Last modified: 2002-04-29 00:41:07 MDT
My administrator just used visudo to edit config file he duplicated a working entry. I have verified this on Debain Woody sudo V1.6.6. Original system is AIX with sudo 1.6.2 operator ALL=/some-script with the following testname All=/somescript The lower case 'All' was accepted by visudo and was not by the sudo command. This should produce an error / warning.
The problem is that visudo has no way of knowing that "All" is not a hostname. The only reason sudo doesn't accept it is that the machine you are running it on is not named "All".