[sudo-users] Sudo Path problem

Todd C. Miller Todd.Miller at courtesan.com
Mon Feb 18 19:19:07 EST 2008

In message <e9eeaac20802181218u7f556fc2k60b9e3b233a21374 at mail.gmail.com>
	so spake "Nikhil Gautam" (nikhilgautam1):

> I am running latest Ubuntu linux and trying to compile my application.
> The problem is with the environment path of the sudo. I set the
> environment path and then try to do "sudo make" but it fails because
> the path is not right. Here is how it looks like,
> Searching on google, I found out that I should probably recompile sudo
> with "--with-secure-path" option removed.
> I am just wondering is there any other way to do this??

Unfortunately not.  In 1.6.9 the secure path setting is compile-time
only.  Starting with 1.7 it will be a sudoers option as well.

 - todd

More information about the sudo-users mailing list