README.Debian: Lazy documentation how to set capabilities
This commit is contained in:
		
							parent
							
								
									90090cbc1b
								
							
						
					
					
						commit
						a75bd42dca
					
				
					 1 changed files with 7 additions and 4 deletions
				
			
		
							
								
								
									
										11
									
								
								debian/README.Debian
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								debian/README.Debian
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -74,11 +74,14 @@ perform. but, in the interest of the "safe default", these plugins will not
 | 
			
		|||
be installed with the suid bit set.
 | 
			
		||||
if setcap is able set the necessary capabilities, you are fine. if the setcap
 | 
			
		||||
binary is not installed or not able to set the capabilities, you need to
 | 
			
		||||
eighter set the capabilities (cap_net_raw+ep) for your own or provide root
 | 
			
		||||
privileges.
 | 
			
		||||
eighter set the capabilities (eg. cap_net_raw+ep) for your own or provide root
 | 
			
		||||
privileges. You could go the lazy way and install libcap2-bin and run the
 | 
			
		||||
following afterwards:
 | 
			
		||||
 | 
			
		||||
there are two recommended ways about providing root privilegethis on your
 | 
			
		||||
system:
 | 
			
		||||
# /var/lib/dpkg/info/monitoring-plugins-basic.postinst configure
 | 
			
		||||
 | 
			
		||||
there are two recommended ways about providing root priviles to your plugins
 | 
			
		||||
on your system:
 | 
			
		||||
 | 
			
		||||
- set the suid bit with dpkg-statoverride:
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue