From 43a33739a33b3f5f5b468fa0d046b32858e2fe21 Mon Sep 17 00:00:00 2001 From: Christer Edwards Date: Tue, 13 Jul 2021 21:38:03 -0600 Subject: [PATCH] fix issue #410 so CMD properly uses jailed env (root) --- usr/local/share/bastille/cmd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/cmd.sh b/usr/local/share/bastille/cmd.sh index 49e30c31..f1d148d0 100644 --- a/usr/local/share/bastille/cmd.sh +++ b/usr/local/share/bastille/cmd.sh @@ -47,6 +47,6 @@ fi for _jail in ${JAILS}; do info "[${_jail}]:" - jexec -l "${_jail}" "$@" + jexec -l -U root "${_jail}" "$@" echo done