visudo incorrectly reports Cmnd_Aliases are not in use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sudo
Running visudo presents warnings that all Cmnd_Alias's are unused.
: linux13 27#; visudo
visudo: /etc/sudoers.tmp unchanged
visudo: Warning: unused Cmnd_Alias COMPILE
visudo: Warning: unused Cmnd_Alias GFX
visudo: Warning: unused Cmnd_Alias PACKAGE
visudo: Warning: unused Cmnd_Alias POWER
visudo: Warning: unused Cmnd_Alias PRINT_MGR
visudo: Warning: unused Cmnd_Alias SERVICES
visudo: Warning: unused Cmnd_Alias SERVICE_CONTROL
visudo: Warning: unused Cmnd_Alias SMART_CARD
visudo: Warning: unused Cmnd_Alias TEMP
visudo: Warning: unused Cmnd_Alias VPN
These Cmnd_Alias's are all part of another Cmnd_Alias, and in fact are in use. If using "-s", these warnings will not let you write the sudoers file out. It seems that visudo is not checking for nested Cmnd_Alias's.
ProblemType: Bug
Architecture: i386
Date: Wed Jan 27 15:07:35 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: sudo 1.7.0-1ubuntu2
ProcVersionSign
SourcePackage: sudo
Uname: Linux 2.6.31-