suexec.html.en revision 3b3b7fc78d1f5bfc2769903375050048ff41ff26
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<?xml version="1.0" encoding="ISO-8859-1"?>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye This file is generated from xml source: DO NOT EDIT
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -->
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<title>suexec - Switch user before executing external programs - Apache HTTP Server</title>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<link href="/images/favicon.ico" rel="shortcut icon" /></head>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<body id="manual-page"><div id="page-header">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<p class="apache">Apache HTTP Server Version 2.1</p>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<img alt="" src="/images/feather.gif" /></div>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<div id="path">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<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-project/">Documentation</a> &gt; <a href="../">Version 2.1</a> &gt; <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>suexec - Switch user before executing external programs</h1>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<div class="toplang">
fe80b749cd764b1f0f72b2f913b1fe10581911c3Knut Anders Hatlen<p><span>Available Languages: </span><a href="/en/programs/suexec.html">&nbsp;en&nbsp;</a></p>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye</div>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye
cf1f7b5e81583dfca30972cfef322266a6928e7fKnut Anders Hatlen <p><code>suexec</code> is used by the Apache HTTP Server to switch
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye to another user before executing CGI programs. In order to achieve this,
d4ce228a333ba2daa19ad8b0672a704c8e42a2dcTrond Norbye it must run as <code>root</code>. Since the HTTP daemon normally doesn't
d4ce228a333ba2daa19ad8b0672a704c8e42a2dcTrond Norbye run as <code>root</code>, the <code>suexec</code> executable needs the
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco setuid bit set and must be owned by <code>root</code>. It should never be
7e33e87b7d6c9a61ff11d23e37c02274b1223ce1Jens Elkner writable for any other person than <code>root</code>.</p>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <p>For further information about the concepts and and the security model
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye of suexec please refer to the suexec documentation (<a href="http://httpd.apache.org/docs-2.1/suexec.html">http://httpd.apache.org/docs-2.1/suexec.html</a>).</p>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye</div>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<li><img alt="" src="/images/down.gif" /> <a href="#options">Options</a></li>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye</ul></div>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<div class="section">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<h2><a name="synopsis" id="synopsis">Synopsis</a></h2>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye <p><code><strong>suexec</strong> -<strong>V</strong></code></p>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<div class="section">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<h2><a name="options" id="options">Options</a></h2>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<dl>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<dt><code>-V</code></dt>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<dd>If you are <code>root</code>, this option displays the compile options of
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<code>suexec</code>. For security reasons all configuration options are
64b763950bf11e9357facbd2b5666631a895c085Trond Norbyechangable only at compile time.</dd>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye</dl>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye</div></div>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<div class="bottomlang">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<p><span>Available Languages: </span><a href="/en/programs/suexec.html">&nbsp;en&nbsp;</a></p>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye</div><div id="footer">
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p></div>
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye</body></html>