Comment 1 for bug 50797

Revision history for this message
Benjamin Hawkes-Lewis (benjamin-hawkeslewis) wrote :

Worse still, as far as I can tell, it is impossible to respecify secure_path in the sudoers file. So if, for example, you want to offer your users easy access to something under /opt, you must recompile sudo.

The hard coding of secure_path also breaks the general Ubuntu convention (as I understood it) that /etc/environment's PATH entry is authoritative for the system.