suexec.html.en revision af33a4994ae2ff15bc67d19ff1a7feb906745bf8
fa9e4066f08beec538e775443c5be79dd423fcabahrens<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
fa9e4066f08beec538e775443c5be79dd423fcabahrens<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
fa9e4066f08beec538e775443c5be79dd423fcabahrens XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock This file is generated from xml source: DO NOT EDIT
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
fa9e4066f08beec538e775443c5be79dd423fcabahrens<title>suexec - Switch user before executing external programs - Apache HTTP Server</title>
fa9e4066f08beec538e775443c5be79dd423fcabahrens<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
fa9e4066f08beec538e775443c5be79dd423fcabahrens<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
fa9e4066f08beec538e775443c5be79dd423fcabahrens<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" />
fa9e4066f08beec538e775443c5be79dd423fcabahrens<script src="/style/scripts/prettify.js" type="text/javascript">
fa9e4066f08beec538e775443c5be79dd423fcabahrens<link href="/images/favicon.ico" rel="shortcut icon" /></head>
fa9e4066f08beec538e775443c5be79dd423fcabahrens<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>
fa9e4066f08beec538e775443c5be79dd423fcabahrens<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div>
fa9e4066f08beec538e775443c5be79dd423fcabahrens<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>
fa9e4066f08beec538e775443c5be79dd423fcabahrens<p><span>Available Languages: </span><a href="/en/programs/suexec.html" title="English"> en </a> |
fa9e4066f08beec538e775443c5be79dd423fcabahrens<a href="/ko/programs/suexec.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
fa9e4066f08beec538e775443c5be79dd423fcabahrens<a href="/tr/programs/suexec.html" hreflang="tr" rel="alternate" title="T�rk�e"> tr </a></p>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <p><code>suexec</code> is used by the Apache HTTP Server to switch
fa9e4066f08beec538e775443c5be79dd423fcabahrens to another user before executing CGI programs. In order to achieve this,
fa9e4066f08beec538e775443c5be79dd423fcabahrens it must run as <code>root</code>. Since the HTTP daemon normally doesn't
fa9e4066f08beec538e775443c5be79dd423fcabahrens run as <code>root</code>, the <code>suexec</code> executable needs the
fa9e4066f08beec538e775443c5be79dd423fcabahrens setuid bit set and must be owned by <code>root</code>. It should never be
fa9e4066f08beec538e775443c5be79dd423fcabahrens writable for any other person than <code>root</code>.</p>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <p>For further information about the concepts and and the security model
fa9e4066f08beec538e775443c5be79dd423fcabahrens 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>
fa9e4066f08beec538e775443c5be79dd423fcabahrens<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
fa9e4066f08beec538e775443c5be79dd423fcabahrens<li><img alt="" src="/images/down.gif" /> <a href="#options">Options</a></li>
6e1f5caa9321646aa4212d48e32a0d241866d85dNeil Perrin</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
6e1f5caa9321646aa4212d48e32a0d241866d85dNeil Perrin<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
6e1f5caa9321646aa4212d48e32a0d241866d85dNeil Perrin<h2><a name="synopsis" id="synopsis">Synopsis</a></h2>
fa9e4066f08beec538e775443c5be79dd423fcabahrens <p><code><strong>suexec</strong> -<strong>V</strong></code></p>
6e1f5caa9321646aa4212d48e32a0d241866d85dNeil Perrin</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
6e1f5caa9321646aa4212d48e32a0d241866d85dNeil Perrin<h2><a name="options" id="options">Options</a></h2>
fa9e4066f08beec538e775443c5be79dd423fcabahrens<dd>If you are <code>root</code>, this option displays the compile options of
fa9e4066f08beec538e775443c5be79dd423fcabahrens<code>suexec</code>. For security reasons all configuration options are
fa9e4066f08beec538e775443c5be79dd423fcabahrenschangeable only at compile time.</dd>
fa9e4066f08beec538e775443c5be79dd423fcabahrens<p><span>Available Languages: </span><a href="/en/programs/suexec.html" title="English"> en </a> |
fa9e4066f08beec538e775443c5be79dd423fcabahrens<a href="/ko/programs/suexec.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
fa9e4066f08beec538e775443c5be79dd423fcabahrens<a href="/tr/programs/suexec.html" hreflang="tr" rel="alternate" title="T�rk�e"> tr </a></p>
fa9e4066f08beec538e775443c5be79dd423fcabahrens</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&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>
fa9e4066f08beec538e775443c5be79dd423fcabahrens<script type="text/javascript"><!--//--><![CDATA[//><!--
fa9e4066f08beec538e775443c5be79dd423fcabahrensvar comments_shortname = 'httpd';
6e1f5caa9321646aa4212d48e32a0d241866d85dNeil Perrinvar comments_identifier = 'http://httpd.apache.org/docs/trunk/programs/suexec.html';
fa9e4066f08beec538e775443c5be79dd423fcabahrens(function(w, d) {
fa9e4066f08beec538e775443c5be79dd423fcabahrens if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
fa9e4066f08beec538e775443c5be79dd423fcabahrens d.write('<div id="comments_thread"><\/div>');
fa9e4066f08beec538e775443c5be79dd423fcabahrens var s = d.createElement('script');
fa9e4066f08beec538e775443c5be79dd423fcabahrens s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
fa9e4066f08beec538e775443c5be79dd423fcabahrens (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
fa9e4066f08beec538e775443c5be79dd423fcabahrens d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
6e1f5caa9321646aa4212d48e32a0d241866d85dNeil Perrin})(window, document);
fa9e4066f08beec538e775443c5be79dd423fcabahrens<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>
fa9e4066f08beec538e775443c5be79dd423fcabahrens<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[//><!--
7e322df5ee63a00c1c57398abec50fc1dc54b67aJonathan Adamsif (typeof(prettyPrint) !== 'undefined') {
fa9e4066f08beec538e775443c5be79dd423fcabahrens prettyPrint();