[ARVADOS-DEV] updated: 026d70487631662d1b0ccf8f66fbef71b9be40d6
git at public.curoverse.com
git at public.curoverse.com
Wed Jan 20 11:43:12 EST 2016
Summary of changes:
arvbox/lib/arvbox/docker/createusers.sh | 2 ++
1 file changed, 2 insertions(+)
via 026d70487631662d1b0ccf8f66fbef71b9be40d6 (commit)
from 22e538ac7ece05cbfc32b2dfb463f3fb955d7f61 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 026d70487631662d1b0ccf8f66fbef71b9be40d6
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Wed Jan 20 11:43:10 2016 -0500
Enable arvbox user to sudo to crunch user. refs #8080
diff --git a/arvbox/lib/arvbox/docker/createusers.sh b/arvbox/lib/arvbox/docker/createusers.sh
index cc7e11f..1e6c95d 100755
--- a/arvbox/lib/arvbox/docker/createusers.sh
+++ b/arvbox/lib/arvbox/docker/createusers.sh
@@ -37,4 +37,6 @@ if ! grep "^arvbox:" /etc/passwd >/dev/null 2>/dev/null ; then
mkdir -p /tmp/crunch0 /tmp/crunch1
chown crunch:crunch -R /tmp/crunch0 /tmp/crunch1
+
+ echo "arvbox ALL=(crunch) NOPASSWD: ALL" >> /etc/sudoers
fi
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list