bulk: syncr
This commit is contained in:
		
							parent
							
								
									f0e039461c
								
							
						
					
					
						commit
						344e1693bd
					
				
					 55 changed files with 1838 additions and 796 deletions
				
			
		
							
								
								
									
										23
									
								
								crates/common/crate.toml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								crates/common/crate.toml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | |||
| name = "common" | ||||
| description = "Common set of utilities" | ||||
| 
 | ||||
| [pkgs] | ||||
| openssh-server = {} | ||||
| openssh-client = {} | ||||
| git = {} | ||||
| netselect = { distros = ["debian", "ubuntu"] } | ||||
| reflector = { distros = ["arch"] } | ||||
| 
 | ||||
| [actions] | ||||
| setup_ssh = ["sh", "./scripts/%"] | ||||
| reflector = { args = ["sh", "./scripts/setup_pm/%"], distro = ["arch"] } | ||||
| netselect = { args = [ | ||||
|   "sh", | ||||
|   "./scripts/setup_pm/%", | ||||
| ], distro = [ | ||||
|   "debian", | ||||
|   "ubuntu", | ||||
| ] } | ||||
| 
 | ||||
| [super_actions] | ||||
| pam_wheel = ["sh", "./scripts/%"] | ||||
							
								
								
									
										4
									
								
								crates/common/scripts/pam_wheel.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								crates/common/scripts/pam_wheel.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | |||
| if [ -f /usr/lib/security/pam_wheel.so ] && ! grep -q "# pam_wheel.so added" /etc/pam.d/su; then | ||||
|     echo "auth           sufficient      pam_wheel.so trust use_uid" > /etc/pam.d/su | ||||
|     echo "# pam_wheel.so added" > /etc/pam.d/su | ||||
| fi | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue