On Sunday 15 April 2007, Bdale Garbee wrote:
> tags 419394 +moreinfo
> severity 419394 normal
> thanks
>
> On Sun, 2007-04-15 at 17:38 +0300, David Baron wrote:
> > Most recent upgrade of sudo no longer can execute something on the path,
> > for example, $KDEDIR/bin/some-kde-app. If I explicitely give it this path
> > string, it works just fine. May be related to #383389
> >
> > (Bug or feature? If feature, one might let administrator override such a
> > restriction by entry in sudoers.)
>
> The Debian package of sudo has been built for years with
>
>  --with-secure-path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:\
>         /sbin:/bin:/usr/X11R6/bin"
>
> As of 1.6.8p12, the behavior relative to env_reset was changed... and as
> of 1.6.8p12-5, I'm no longer building with --with-exempt=sudo... see the
> package changelog in /usr/share/doc/sudo for more details.
>
> Given that, I'm confident that there will be cases where sudo behaves
> differently than it did in the past, and those changes are very
> intentional.  After looking over the changelog, please let me know if
> you still think something is "broken" in the package.
>
> Bdale

As I said, bug or feature?

Assuming nothing is broken, that this change was put in for a more secure 
sudo, how might one configure to be able to use the normal PATH?

Of course, one can always simply enter a complete or scripted path.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to