2016-10-15 19:57:54 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="fr" dir="ltr">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
|
|
<meta charset="utf-8" />
|
2017-02-07 17:35:26 +01:00
|
|
|
<title>documentation:2.0:selinux</title><!-- //if:usedebianlibs
|
|
|
|
<link rel="stylesheet" type="text/css" href="/javascript/bootstrap/css/bootstrap.min.css" />
|
|
|
|
//elsif:useexternallibs
|
|
|
|
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"></script>
|
|
|
|
//elsif:cssminified
|
|
|
|
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css" />
|
|
|
|
//else --><!-- //endif -->
|
2016-10-15 19:57:54 +02:00
|
|
|
<meta name="generator" content="DokuWiki"/>
|
|
|
|
<meta name="robots" content="index,follow"/>
|
|
|
|
<meta name="keywords" content="documentation,2.0,selinux"/>
|
|
|
|
<link rel="search" type="application/opensearchdescription+xml" href="lib/exe/opensearch.html" title="LemonLDAP::NG"/>
|
|
|
|
<link rel="start" href="selinux.html"/>
|
|
|
|
<link rel="contents" href="selinux.html" title="Sitemap"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="lib/exe/css.php.t.bootstrap3.css"/>
|
2017-02-07 17:35:26 +01:00
|
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.css" />
|
|
|
|
|
2016-10-15 19:57:54 +02:00
|
|
|
<script type="text/javascript">/*<![CDATA[*/var NS='documentation:2.0';var JSINFO = {"id":"documentation:2.0:selinux","namespace":"documentation:2.0"};
|
|
|
|
/*!]]>*/</script>
|
2017-02-07 17:35:26 +01:00
|
|
|
<script type="text/javascript" charset="utf-8" src="lib/exe/js.php.t.bootstrap3.js"></script><!-- //if:usedebianlibs
|
|
|
|
<script type="text/javascript" src="/javascript/jquery/jquery.min.js"></script>
|
|
|
|
//elsif:useexternallibs
|
|
|
|
<script type="text/javascript" src="http://code.jquery.com/jquery-2.2.0.min.js"></script>
|
|
|
|
//elsif:jsminified
|
|
|
|
<script type="text/javascript" src="/static/bwr/jquery/dist/jquery.min.js"></script>
|
|
|
|
//else -->
|
|
|
|
|
|
|
|
<script type="text/javascript" src="/static/bwr/jquery/dist/jquery.js"></script><!-- //endif --><!-- //if:usedebianlibs
|
|
|
|
<script type="text/javascript" src="/javascript/jquery-ui/jquery-ui.min.js"></script>
|
|
|
|
//elsif:useexternallibs
|
|
|
|
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.4/jquery-ui.min.js"></script>
|
|
|
|
//elsif:jsminified
|
|
|
|
<script type="text/javascript" src="/lib/scripts/jquery-ui.min.js"></script>
|
|
|
|
//else -->
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="/lib/scripts/jquery-ui.js"></script><!-- //endif -->
|
|
|
|
|
2016-10-15 19:57:54 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="dokuwiki export container"><!-- TOC START -->
|
|
|
|
|
|
|
|
<div id="dw__toc">
|
|
|
|
<h3 class="toggle">Table of Contents</h3>
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<ul class="toc">
|
|
|
|
<li class="level1"><div class="li"><a href="#disk_cache_sessions_an_configuration">Disk cache (sessions an configuration)</a></div></li>
|
2017-08-30 18:47:26 +02:00
|
|
|
<li class="level1"><div class="li"><a href="#access_to_ldap">Access to LDAP</a></div></li>
|
2016-10-15 19:57:54 +02:00
|
|
|
<li class="level1"><div class="li"><a href="#memcache">Memcache</a></div></li>
|
|
|
|
<li class="level1"><div class="li"><a href="#proxy_http">Proxy HTTP</a></div></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div><!-- TOC END -->
|
|
|
|
|
|
|
|
|
|
|
|
<h1 class="sectionedit1" id="selinux">SELinux</h1>
|
|
|
|
<div class="level1">
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
To make LemonLDAP::NG work with SELinux, you may need to set up some options.
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</div><!-- EDIT1 SECTION "SELinux" [1-102] -->
|
|
|
|
|
|
|
|
<h2 class="sectionedit2" id="disk_cache_sessions_an_configuration">Disk cache (sessions an configuration)</h2>
|
|
|
|
<div class="level2">
|
|
|
|
<pre class="code">chcon -R -t httpd_sys_rw_content_t /tmp</pre>
|
|
|
|
|
|
|
|
</div><!-- EDIT2 SECTION "Disk cache (sessions an configuration)" [103-208] -->
|
|
|
|
|
2017-08-30 18:47:26 +02:00
|
|
|
<h2 class="sectionedit3" id="access_to_ldap">Access to LDAP</h2>
|
|
|
|
<div class="level2">
|
|
|
|
<pre class="code">setsebool -P httpd_can_connect_ldap on</pre>
|
|
|
|
|
|
|
|
</div><!-- EDIT3 SECTION "Access to LDAP" [209-289] -->
|
|
|
|
|
|
|
|
<h2 class="sectionedit4" id="memcache">Memcache</h2>
|
2016-10-15 19:57:54 +02:00
|
|
|
<div class="level2">
|
|
|
|
<pre class="code">setsebool -P httpd_can_network_memcache 1</pre>
|
|
|
|
|
2017-08-30 18:47:26 +02:00
|
|
|
</div><!-- EDIT4 SECTION "Memcache" [290-367] -->
|
2016-10-15 19:57:54 +02:00
|
|
|
|
2017-08-30 18:47:26 +02:00
|
|
|
<h2 class="sectionedit5" id="proxy_http">Proxy HTTP</h2>
|
2016-10-15 19:57:54 +02:00
|
|
|
<div class="level2">
|
|
|
|
<pre class="code">setsebool -P httpd_can_network_relay 1</pre>
|
|
|
|
|
2017-08-30 18:47:26 +02:00
|
|
|
</div><!-- EDIT5 SECTION "Proxy HTTP" [368-] -->
|
2016-10-15 19:57:54 +02:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|