Re: sudo not looking into /usr/local

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2016-11-15 at 18:42 +0000, Samuel Rakitničan wrote:
> Hi,
> 
> Something I stumbled upon today is that there is no convenient way by default to make some custom
> script accessible via sudo without specifying full path.

What about -E option?

> Found out that sudo have limited set of paths in its environment that is looking into [1]. Sadly,
> none of it is appropriate for custom scripts. I think it would be nice to include /usr/local/bin
> and /usr/local/sbin also.
> 
> [1] http://unix.stackexchange.com/a/8652
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux