Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

suexec (8)

Name

suexec - Switch user before executing external programs

Synopsis

suexec -V

Description

SUEXEC(8)                           suexec                           SUEXEC(8)



NAME
       suexec - Switch user before executing external programs


SYNOPSIS
       suexec -V



SUMMARY
       suexec  is  used  by  the  Apache HTTP Server to switch to another user
       before executing CGI programs. In order to achieve this, it must run as
       root.  Since  the  HTTP daemon normally doesn't run as root, the suexec
       executable needs the setuid bit set and  must  be  owned  by  root.  It
       should never be writable for any other person than root.


       For  further  information  about the concepts and the security model of
       suexec     please     refer     to     the     suexec     documentation
       (http://httpd.apache.org/docs/2.4/suexec.html).



OPTIONS
       -V     If  you  are  root,  this option displays the compile options of
              suexec. For  security  reasons  all  configuration  options  are
              changeable only at compile time.




ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE    |
       +---------------+----------------------+
       |Availability   | web/server/apache-24 |
       +---------------+----------------------+
       |Stability      | Uncommitted          |
       +---------------+----------------------+

NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source         was         downloaded         from          https://ar-
       chive.apache.org/dist/httpd/httpd-2.4.54.tar.gz.

       Further information about this software can be found on the open source
       community website at https://httpd.apache.org/.



Apache HTTP Server                2018-07-06                         SUEXEC(8)