| 
									
										
										
										
											2016-09-15 15:23:52 +02:00
										 |  |  | <chapter xmlns="http://docbook.org/ns/docbook" | 
					
						
							|  |  |  |          xmlns:xlink="http://www.w3.org/1999/xlink" | 
					
						
							|  |  |  |          xmlns:xi="http://www.w3.org/2001/XInclude" | 
					
						
							|  |  |  |          version="5.0" | 
					
						
							|  |  |  |          xml:id="sec-hidepid"> | 
					
						
							| 
									
										
										
										
											2018-09-29 20:51:11 -04:00
										 |  |  |  <title>Hiding process information</title> | 
					
						
							|  |  |  |  <para> | 
					
						
							|  |  |  |   Setting | 
					
						
							| 
									
										
										
										
											2018-04-05 18:43:56 +10:00
										 |  |  | <programlisting> | 
					
						
							|  |  |  | <xref linkend="opt-security.hideProcessInformation"/> = true; | 
					
						
							|  |  |  | </programlisting> | 
					
						
							| 
									
										
										
										
											2018-09-29 20:51:11 -04:00
										 |  |  |   ensures that access to process information is restricted to the owning user. | 
					
						
							|  |  |  |   This implies, among other things, that command-line arguments remain private. | 
					
						
							|  |  |  |   Unless your deployment relies on unprivileged users being able to inspect the | 
					
						
							|  |  |  |   process information of other users, this option should be safe to enable. | 
					
						
							|  |  |  |  </para> | 
					
						
							|  |  |  |  <para> | 
					
						
							|  |  |  |   Members of the <literal>proc</literal> group are exempt from process | 
					
						
							|  |  |  |   information hiding. | 
					
						
							|  |  |  |  </para> | 
					
						
							|  |  |  |  <para> | 
					
						
							|  |  |  |   To allow a service <replaceable>foo</replaceable> to run without process | 
					
						
							|  |  |  |   information hiding, set | 
					
						
							| 
									
										
										
										
											2018-04-05 18:43:56 +10:00
										 |  |  | <programlisting> | 
					
						
							|  |  |  | <link linkend="opt-systemd.services._name_.serviceConfig">systemd.services.<replaceable>foo</replaceable>.serviceConfig</link>.SupplementaryGroups = [ "proc" ]; | 
					
						
							|  |  |  | </programlisting> | 
					
						
							| 
									
										
										
										
											2018-09-29 20:51:11 -04:00
										 |  |  |  </para> | 
					
						
							| 
									
										
										
										
											2016-09-15 15:23:52 +02:00
										 |  |  | </chapter> |