forked from AUR/kfiredragonhelper
		
	This commit is contained in:
		
							
								
								
									
										7
									
								
								setupbuild.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								setupbuild.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					useradd --shell=/bin/bash build && usermod -L build
 | 
				
			||||||
 | 
					echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
 | 
				
			||||||
 | 
					echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
 | 
				
			||||||
 | 
					mkdir /home/build/
 | 
				
			||||||
 | 
					mkdir /home/build/.gnupg
 | 
				
			||||||
 | 
					chown -R build:build /home/build
 | 
				
			||||||
 | 
					chown -R build:build /drone/
 | 
				
			||||||
		Reference in New Issue
	
	Block a user