We have some scripts in /usr/local/bin which cannot be found by any misc-progs which is fixed by this patch.
Fixes: #12811 Signed-off-by: Michael Tremer michael.tremer@ipfire.org --- src/misc-progs/setuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc-progs/setuid.c b/src/misc-progs/setuid.c index 8044742f2..831fb1f90 100644 --- a/src/misc-progs/setuid.c +++ b/src/misc-progs/setuid.c @@ -46,7 +46,7 @@
/* Trusted environment for executing commands */ char * trusted_env[4] = { - "PATH=/usr/bin:/usr/sbin:/sbin:/bin", + "PATH=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin", "SHELL=/bin/sh", "TERM=dumb", NULL