From 15696f45b8969a3070c0b3de50c08771a646f98f Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 16 Oct 2020 19:37:11 +0000 Subject: system/sudo: set a default secure_path --- system/sudo/APKBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/system/sudo/APKBUILD b/system/sudo/APKBUILD index d6e2986b4..5ad968957 100644 --- a/system/sudo/APKBUILD +++ b/system/sudo/APKBUILD @@ -9,7 +9,7 @@ if [ "${pkgver%_*}" != "$pkgver" ]; then else _realver=$pkgver fi -pkgrel=0 +pkgrel=1 pkgdesc="Give certain users the ability to run some commands as root" url="https://www.sudo.ws/sudo/" arch="all" @@ -59,7 +59,8 @@ build() { --with-all-insults \ --enable-python=no \ --disable-log-server \ - --disable-log-client + --disable-log-client \ + --with-secure-path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" # Workaround until SIGUNUSED.patch is not needed anymore rm lib/util/mksiglist.h lib/util/mksigname.h -- cgit v1.2.3-70-g09d2