feat: add tt to student group
This commit is contained in:
		
							parent
							
								
									0a2e42ae7b
								
							
						
					
					
						commit
						98867527dc
					
				|  | @ -9,6 +9,7 @@ RUN apt-get update && \ | ||||||
|     userdel -r node && \ |     userdel -r node && \ | ||||||
|     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 && \ | ||||||
|     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:/usr/local/bin/joj3\nstudent ALL=(tt) NOPASSWD:/usr/local/bin/joj3-teapot" > /etc/sudoers.d/joj | ||||||
| 
 | 
 | ||||||
| # install joint-teapot | # install joint-teapot | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user