[sudo-users] Sudo Path problem

Nikhil Gautam nikhilgautam1 at gmail.com
Mon Feb 18 20:18:23 EST 2008


Thanks,

I took the latest sudo-dev package and compiled it with right options
and then changed the sudoers file to disable the env_reset.

It is now working fine for me.

Thanks once again,

Nikhil

On Feb 18, 2008 4:19 PM, Todd C. Miller <Todd.Miller at courtesan.com> wrote:
> 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