diff options
Diffstat (limited to 'netjail/netjail.sh')
-rwxr-xr-x | netjail/netjail.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netjail/netjail.sh b/netjail/netjail.sh index b07927b..df4df1a 100755 --- a/netjail/netjail.sh +++ b/netjail/netjail.sh @@ -48,4 +48,4 @@ ip netns exec "$NAME" ip route add default via 10.42.42.1 # Finally, run whatever the user's command was ME=${SUDO_USER:?must run in sudo} -exec unshare -pf -- ip netns exec "$NAME" sudo -u "$ME" -- "$@" +exec unshare -pf --mount-proc -- ip netns exec "$NAME" sudo -u "$ME" -- "$@" |