From 7cf853aa1159005b075adc65144227028c31fc5e Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Wed, 11 Sep 2024 10:49:44 -0400 Subject: [PATCH] fix: NOPASSWD --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4818439..407d1c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* && \ useradd -u 1000 -ms /bin/bash tt && \ useradd -u 1001 -ms /bin/bash student && \ - echo "student ALL=(tt) /usr/local/bin/joj3" > /etc/sudoers.d/joj + echo "student ALL=(tt) NOPASSWD:/usr/local/bin/joj3" > /etc/sudoers.d/joj # install joint-teapot # TODO: change it to FOCS gitea mirror for deployment