fix: NOPASSWD
This commit is contained in:
		
							parent
							
								
									6238eda87a
								
							
						
					
					
						commit
						7cf853aa11
					
				|  | @ -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 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user