This commit is contained in:
parent
a7041473ab
commit
35c9e19e90
|
@ -10,7 +10,7 @@ RUN apt-get update && \
|
|||
useradd -u 1000 -ms /bin/bash tt && \
|
||||
useradd -u 1001 -ms /bin/bash student && \
|
||||
usermod -aG student tt && \
|
||||
echo "student ALL=(tt) NOPASSWD:/usr/local/bin/joj3\nstudent ALL=(tt) NOPASSWD:/usr/local/bin/joj3-teapot" > /etc/sudoers.d/joj
|
||||
echo "student ALL=(tt) NOPASSWD:SETENV:/usr/local/bin/joj3\nstudent ALL=(tt) NOPASSWD:SETENV:/usr/local/bin/joj3-teapot" > /etc/sudoers.d/joj
|
||||
|
||||
# install joint-teapot
|
||||
# TODO: change it to FOCS gitea mirror for deployment
|
||||
|
|
Loading…
Reference in New Issue
Block a user