[sudo-users] Filename globbing in /etc/sudoers causes very slow sudo command execution.

Todd C. Miller Todd.Miller at courtesan.com
Mon Feb 9 13:53:07 EST 2009


In sudo 1.6.9 sudo uses glob() for pathname globbing which does
look at the filesystem.  Depending on the sudoers rules you have
and your automount setup this could cause an automount storm.

Using glob() fixes some real problems, for instance
http://www.gratisoft.us/bugzilla/show_bug.cgi?id=143

I am considering adding a option to allow users to switch back to
the old method if they don't care about the issues it introduces.

 - todd



More information about the sudo-users mailing list