forked from Hello_User/mirror-test
		
	This commit is contained in:
		
							
								
								
									
										6
									
								
								setupbuild.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								setupbuild.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
useradd --no-create-home --shell=/bin/sh build && usermod -L build
 | 
			
		||||
echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
 | 
			
		||||
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
 | 
			
		||||
chown -R build:build /drone/src
 | 
			
		||||
		Reference in New Issue
	
	Block a user