visudo incorrectly reports Cmnd_Aliases are not in use

Bug #513442 reported by Ryan Daly
6
This bug affects 1 person
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
NonfreeKernelModules: nvidia
Package: sudo 1.7.0-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic-pae
SourcePackage: sudo
Uname: Linux 2.6.31-17-generic-pae i686

Revision history for this message
Ryan Daly (daly-ctcnet) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.