suexec.html.en revision b2b32227e56d8b2bbbc1cf94990d3be630e91040
af687ddbab64fce492e06d194acd60da69b59608nd<?xml version="1.0" encoding="ISO-8859-1"?>
af687ddbab64fce492e06d194acd60da69b59608nd<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
af687ddbab64fce492e06d194acd60da69b59608nd<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
af687ddbab64fce492e06d194acd60da69b59608nd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
af687ddbab64fce492e06d194acd60da69b59608nd This file is generated from xml source: DO NOT EDIT
af687ddbab64fce492e06d194acd60da69b59608nd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
af687ddbab64fce492e06d194acd60da69b59608nd -->
af687ddbab64fce492e06d194acd60da69b59608nd<title>suexec - Switch user before executing external programs - Apache HTTP Server</title>
af687ddbab64fce492e06d194acd60da69b59608nd<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
af687ddbab64fce492e06d194acd60da69b59608nd<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" />
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<script src="/style/scripts/prettify.js" type="text/javascript">
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen</script>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen
af687ddbab64fce492e06d194acd60da69b59608nd<link href="/images/favicon.ico" rel="shortcut icon" /></head>
af687ddbab64fce492e06d194acd60da69b59608nd<body id="manual-page"><div id="page-header">
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/quickreference.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<p class="apache">Apache HTTP Server Version 2.5</p>
af687ddbab64fce492e06d194acd60da69b59608nd<img alt="" src="/images/feather.gif" /></div>
af687ddbab64fce492e06d194acd60da69b59608nd<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
af687ddbab64fce492e06d194acd60da69b59608nd<div id="path">
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.5</a> &gt; <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>suexec - Switch user before executing external programs</h1>
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd<div class="toplang">
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<p><span>Available Languages: </span><a href="/en/programs/suexec.html" title="English">&nbsp;en&nbsp;</a> |
0cf3cdbaa1dad11cbf1ce32e48f1b4ec88cf779fnilgun<a href="/ko/programs/suexec.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung<a href="/tr/programs/suexec.html" hreflang="tr" rel="alternate" title="T�rk�e">&nbsp;tr&nbsp;</a></p>
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd</div>
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd
af687ddbab64fce492e06d194acd60da69b59608nd <p><code>suexec</code> is used by the Apache HTTP Server to switch
af687ddbab64fce492e06d194acd60da69b59608nd to another user before executing CGI programs. In order to achieve this,
af687ddbab64fce492e06d194acd60da69b59608nd it must run as <code>root</code>. Since the HTTP daemon normally doesn't
af687ddbab64fce492e06d194acd60da69b59608nd run as <code>root</code>, the <code>suexec</code> executable needs the
af687ddbab64fce492e06d194acd60da69b59608nd setuid bit set and must be owned by <code>root</code>. It should never be
af687ddbab64fce492e06d194acd60da69b59608nd writable for any other person than <code>root</code>.</p>
af687ddbab64fce492e06d194acd60da69b59608nd
b2b32227e56d8b2bbbc1cf94990d3be630e91040jorton <p>For further information about the concepts and the security model
6df89e6e4adeb986b41b7ec6b7593a887e031ce7nd of suexec please refer to the suexec documentation (<a href="http://httpd.apache.org/docs/trunk/suexec.html">http://httpd.apache.org/docs/trunk/suexec.html</a>).</p>
af687ddbab64fce492e06d194acd60da69b59608nd</div>
af687ddbab64fce492e06d194acd60da69b59608nd<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
af687ddbab64fce492e06d194acd60da69b59608nd<li><img alt="" src="/images/down.gif" /> <a href="#options">Options</a></li>
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
af687ddbab64fce492e06d194acd60da69b59608nd<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
af687ddbab64fce492e06d194acd60da69b59608nd<div class="section">
af687ddbab64fce492e06d194acd60da69b59608nd<h2><a name="synopsis" id="synopsis">Synopsis</a></h2>
af687ddbab64fce492e06d194acd60da69b59608nd <p><code><strong>suexec</strong> -<strong>V</strong></code></p>
af687ddbab64fce492e06d194acd60da69b59608nd</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
af687ddbab64fce492e06d194acd60da69b59608nd<div class="section">
af687ddbab64fce492e06d194acd60da69b59608nd<h2><a name="options" id="options">Options</a></h2>
af687ddbab64fce492e06d194acd60da69b59608nd
af687ddbab64fce492e06d194acd60da69b59608nd<dl>
af687ddbab64fce492e06d194acd60da69b59608nd<dt><code>-V</code></dt>
af687ddbab64fce492e06d194acd60da69b59608nd
af687ddbab64fce492e06d194acd60da69b59608nd<dd>If you are <code>root</code>, this option displays the compile options of
af687ddbab64fce492e06d194acd60da69b59608nd<code>suexec</code>. For security reasons all configuration options are
8ba890719035fe67c295c9124693138f9c5aa933kesschangeable only at compile time.</dd>
af687ddbab64fce492e06d194acd60da69b59608nd
af687ddbab64fce492e06d194acd60da69b59608nd</dl>
af687ddbab64fce492e06d194acd60da69b59608nd</div></div>
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd<div class="bottomlang">
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<p><span>Available Languages: </span><a href="/en/programs/suexec.html" title="English">&nbsp;en&nbsp;</a> |
0cf3cdbaa1dad11cbf1ce32e48f1b4ec88cf779fnilgun<a href="/ko/programs/suexec.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung<a href="/tr/programs/suexec.html" hreflang="tr" rel="alternate" title="T�rk�e">&nbsp;tr&nbsp;</a></p>
727872d18412fc021f03969b8641810d8896820bhumbedooh</div><div class="top"><a href="#page-header"><img src="/images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div>
0d0ba3a410038e179b695446bb149cce6264e0abnd<script type="text/javascript"><!--//--><![CDATA[//><!--
727872d18412fc021f03969b8641810d8896820bhumbedoohvar comments_shortname = 'httpd';
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedoohvar comments_identifier = 'http://httpd.apache.org/docs/trunk/programs/suexec.html';
0d0ba3a410038e179b695446bb149cce6264e0abnd(function(w, d) {
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
727872d18412fc021f03969b8641810d8896820bhumbedooh d.write('<div id="comments_thread"><\/div>');
0d0ba3a410038e179b695446bb149cce6264e0abnd var s = d.createElement('script');
0d0ba3a410038e179b695446bb149cce6264e0abnd s.type = 'text/javascript';
0d0ba3a410038e179b695446bb149cce6264e0abnd s.async = true;
ac082aefa89416cbdc9a1836eaf3bed9698201c8humbedooh s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
0d0ba3a410038e179b695446bb149cce6264e0abnd (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
0d0ba3a410038e179b695446bb149cce6264e0abnd }
0d0ba3a410038e179b695446bb149cce6264e0abnd else {
727872d18412fc021f03969b8641810d8896820bhumbedooh d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
0d0ba3a410038e179b695446bb149cce6264e0abnd }
0d0ba3a410038e179b695446bb149cce6264e0abnd})(window, document);
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh//--><!]]></script></div><div id="footer">
1a1356f375e36db7bee379ea0684ab389579f798rbowen<p class="apache">Copyright 2013 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/quickreference.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
0d0ba3a410038e179b695446bb149cce6264e0abndif (typeof(prettyPrint) !== 'undefined') {
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd prettyPrint();
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd}
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd//--><!]]></script>
af687ddbab64fce492e06d194acd60da69b59608nd</body></html>