aboutsummaryrefslogtreecommitdiff
path: root/fake-client-setup-mounts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fake-client-setup-mounts.sh')
-rwxr-xr-xfake-client-setup-mounts.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/fake-client-setup-mounts.sh b/fake-client-setup-mounts.sh
index c00a0e5..9ad1e76 100755
--- a/fake-client-setup-mounts.sh
+++ b/fake-client-setup-mounts.sh
@@ -9,10 +9,7 @@
set -e
SHELL_TO_USE="$1"
-USER_ID_TO_USE="$2"
-GROUP_ID_TO_USE="$3"
mount --bind hosts /etc/hosts;
mount -t tmpfs dummy /var/run/nscd 2>/dev/null || true;
-unshare --map-user="$USER_ID_TO_USE" --map-group="$GROUP_ID_TO_USE" \
- "$SHELL_TO_USE"
+unshare "$SHELL_TO_USE"