Apache HTTP Server Version 2.5

Apache > HTTP Server > Documentation > Version 2.5 > Modules

# Apache Module mod_suexec

Description: | Allows CGI scripts to run as a specified user and Group
Status: | Extension
Module Identifier: | suexec_module
Source File: | mod_suexec.c

### Summary

This module, in combination with the `suexec` support program allows CGI scripts to run as a specified user and Group.

### Directives

### Bugfix checklist

- httpd changelog
- Known issues
- Report a bug

### See also

- SuEXEC support

## SuexecUserGroup Directive ¶

Description: | User and group for CGI programs to run as
Syntax: | `SuexecUserGroup User Group`
Context: | server config, virtual host
Status: | Extension
Module: | mod_suexec

The `SuexecUserGroup` directive allows you to specify a user and group for CGI programs to run as. Non-CGI requests are still processed with the user specified in the `User` directive.

### Example

    SuexecUserGroup nobody nogroup

Startup will fail if this directive is specified but the suEXEC feature is disabled.

### See also

- `Suexec`