OpenBSD manual page server

Manual Page Search Parameters

SUEXEC(8) System Manager's Manual SUEXEC(8)

suexecswitch user for Apache CGI execution

suexec -V

suexec is the “wrapper” support program for the behaviour for the Apache httpd(8) server. It is run from within the server automatically to switch the user when an external program has to be run under a different user.

The options are as follows:

Display the list of compile-time settings used when suexec was built. No other action is taken.

Because this program is only used internally by httpd(8), there are no other ways to directly invoke suexec.

In order to work correctly, the suexec binary should be owned by “root” and have the SETUID execution bit set. OpenBSD currently does not install suexec with the SETUID bit set, so a change of file mode is necessary to enable it:

# chmod u+s /usr/sbin/suexec


Apache suEXEC Support: /usr/share/doc/html/httpd/suexec.html

June 7, 2008 OpenBSD-5.1