methodize writing keyfile
This commit is contained in:
		
							parent
							
								
									96cdd273f5
								
							
						
					
					
						commit
						23c7322cac
					
				| @ -116,6 +116,9 @@ class Townie(User): | |||||||
|             logging.error(error) |             logging.error(error) | ||||||
|             return |             return | ||||||
| 
 | 
 | ||||||
|  |         self.write_authorized_keys() | ||||||
|  | 
 | ||||||
|  |     def write_authorized_keys(self): | ||||||
|         # Write out authorized_keys file |         # Write out authorized_keys file | ||||||
|         # Why is this a call out to a python script? There's no secure way with |         # Why is this a call out to a python script? There's no secure way with | ||||||
|         # sudoers to allow this code to write to a file; if this code was to be |         # sudoers to allow this code to write to a file; if this code was to be | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user