This commit is contained in:
		
							parent
							
								
									bc65740378
								
							
						
					
					
						commit
						9c0e630a0e
					
				|  | @ -11,7 +11,7 @@ RUN sed -i s@/deb.debian.org/@/mirrors.tuna.tsinghua.edu.cn/@g /etc/apt/sources. | ||||||
|     useradd -u 1000 -ms /bin/bash tt && \ |     useradd -u 1000 -ms /bin/bash tt && \ | ||||||
|     useradd -u 1001 -ms /bin/bash student && \ |     useradd -u 1001 -ms /bin/bash student && \ | ||||||
|     usermod -aG student tt && \ |     usermod -aG student tt && \ | ||||||
|     echo "student ALL=(tt) NOPASSWD:SETENV:/usr/local/bin/joj3\ntt ALL=(student) NOPASSWD:SETENV ALL" > /etc/sudoers.d/joj |     echo "student ALL=(tt) NOPASSWD:SETENV:/usr/local/bin/joj3\ntt ALL=(student) NOPASSWD:SETENV:ALL" > /etc/sudoers.d/joj | ||||||
| 
 | 
 | ||||||
| # install joint-teapot | # install joint-teapot | ||||||
| # TODO: change it to FOCS gitea mirror for deployment | # TODO: change it to FOCS gitea mirror for deployment | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user