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@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to