1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5 This file is generated from xml source: DO NOT EDIT
6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
8 <title>suexec - Switch user before executing external programs - Apache HTTP Server</title>
9 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11 <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" />
12 <script src="../style/scripts/prettify.js" type="text/javascript">
15 <link href="../images/favicon.ico" rel="shortcut icon" /></head>
16 <body id="manual-page"><div id="page-header">
17 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.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>
18 <p class="apache">Apache HTTP Server Version 2.5</p>
19 <img alt="" src="../images/feather.gif" /></div>
20 <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
22 <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.5</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>suexec - Switch user before executing external programs</h1>
24 <p><span>Available Languages: </span><a href="../en/programs/suexec.html" title="English"> en </a> |
25 <a href="../ko/programs/suexec.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
26 <a href="../tr/programs/suexec.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p>
29 <p><code>suexec</code> is used by the Apache HTTP Server to switch
30 to another user before executing CGI programs. In order to achieve this,
31 it must run as <code>root</code>. Since the HTTP daemon normally doesn't
32 run as <code>root</code>, the <code>suexec</code> executable needs the
33 setuid bit set and must be owned by <code>root</code>. It should never be
34 writable for any other person than <code>root</code>.</p>
36 <p>For further information about the concepts and and the security model
37 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>
39 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
40 <li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li>
41 </ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
42 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
44 <h2><a name="synopsis" id="synopsis">Synopsis</a></h2>
45 <p><code><strong>suexec</strong> -<strong>V</strong></code></p>
46 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
48 <h2><a name="options" id="options">Options</a></h2>
51 <dt><code>-V</code></dt>
53 <dd>If you are <code>root</code>, this option displays the compile options of
54 <code>suexec</code>. For security reasons all configuration options are
55 changeable only at compile time.</dd>
59 <div class="bottomlang">
60 <p><span>Available Languages: </span><a href="../en/programs/suexec.html" title="English"> en </a> |
61 <a href="../ko/programs/suexec.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
62 <a href="../tr/programs/suexec.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p>
63 </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>This section is experimental!</strong><br />Comments placed here should not be expected
64 to last beyond the testing phase of this system, nor do we in any way guarantee that we'll read them.</div>
65 <div id="disqus_thread">
66 </div><script type="text/javascript"><!--//--><![CDATA[//><!--
68 var disqus_shortname = 'httpd';
69 var disqus_identifier = window.location.href.replace(/(current|trunk)/, "2.4").replace(/\/[a-z]{2}\//, "/").replace(window.location.protocol, "http:") + '.' + lang;
70 if (disqus_identifier.indexOf("httpd.apache.org") != -1) {
72 var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
73 dsq.src = window.location.protocol + '//' + disqus_shortname + '.disqus.com/embed.js';
74 (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
77 var text = document.createTextNode("Comments have been disabled for offline viewing.");
78 document.getElementById('disqus_thread').appendChild(text);
80 //--><!]]></script></div><div id="footer">
81 <p class="apache">Copyright 2012 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>
82 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.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[//><!--
83 if (typeof(prettyPrint) !== undefined) {