mirror of
				https://github.com/vyos/vyos-documentation.git
				synced 2025-10-26 08:41:46 +01:00 
			
		
		
		
	add login banner
This commit is contained in:
		
							parent
							
								
									f10213cca7
								
							
						
					
					
						commit
						2be4433eff
					
				| @ -108,3 +108,18 @@ networks when a link fails. | |||||||
| .. code-block:: sh | .. code-block:: sh | ||||||
| 
 | 
 | ||||||
|   set system login radius-source-address 192.168.1.254 |   set system login radius-source-address 192.168.1.254 | ||||||
|  | 
 | ||||||
|  | Login Banner | ||||||
|  | ^^^^^^^^^^^^ | ||||||
|  | 
 | ||||||
|  | You are able to set post-login or pre-login messages with the following lines: | ||||||
|  | 
 | ||||||
|  | .. code-block:: sh | ||||||
|  | 
 | ||||||
|  |   set system login banner pre-login "UNAUTHORIZED USE OF THIS SYSTEM IS PROHIBITED\n" | ||||||
|  |   set system login banner post-login "Welcome to VyOS" | ||||||
|  | 
 | ||||||
|  | the **\\n** create a newline. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user