make sure $HOME is set
This commit is contained in:
		
							parent
							
								
									e63f3617b0
								
							
						
					
					
						commit
						2a5c6373cd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								makeitso
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								makeitso
									
										
									
									
									
								
							|  | @ -19,5 +19,5 @@ sudo -u authorizedkeysuser mkdir ~authorizedkeysuser/.aws | |||
| sudo -u authorizedkeysuser cp config ~authorizedkeysuser/.aws | ||||
| sudo -u authorizedkeysuser cp .credentials ~authorizedkeysuser/.aws/credentials | ||||
| sudo -u authorizedkeysuser chmod 600 ~authorizedkeysuser/.aws/* | ||||
| sudo -u authorizedkeysuser sh -c 'command -v aws > /dev/null 2>&1 || pip install --user awscli' | ||||
| sudo -H -u authorizedkeysuser sh -c 'command -v aws > /dev/null 2>&1 || pip install --user awscli' | ||||
| sudo systemctl restart sshd | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue