|
version 1.1.1.1.8.1, 2013/04/09 23:50:14
|
version 1.3, 2015/06/17 14:14:17
|
|
Line 1
|
Line 1
|
| # |
# |
| # Sample config for suX service | # Example config for suX service |
| # |
# |
| |
|
| [global] |
[global] |
| # Mode for SIUD:: script=get uid/gid from envvar "path_translated", | # Mode for SUID:: (uid/gid comes from) |
| # file=get uid/gid from exec file, dir=get uid/gid from "directory" | # script = envvar "SUX_USER" or if is unset SUX_USER, uid/gid comes from script in envvar "PATH_TRANSLATED" |
| mode = "file" | # file = exec/request file |
| | # dir = directory of file |
| | mode = "script" |
| |
|
| priority = 0 |
priority = 0 |
| |
|
| [associate] |
[associate] |
| default = "/bin/sh" |
default = "/bin/sh" |
| |
# if we choose to execute suX with STDIN source for content |
| |
stdin = "/usr/local/bin/php-fastcgi" |
| |
|
| # if value string is empty direct execute program ... |
# if value string is empty direct execute program ... |
| pl = "" | pl = "/usr/bin/perl" |
| py = "" | py = "/usr/local/bin/python" |
| sh = "" | rb = "/usr/local/bin/ruby" |
| cgi = "" | sh = "/bin/sh" |
| inc = "/usr/local/bin/php" | cgi = "/bin/sh" |
| php = "/usr/local/bin/php" | inc = "/usr/local/bin/php-fastcgi" |
| php3 = "/usr/local/bin/php" | php = "/usr/local/bin/php-fastcgi" |
| php4 = "/usr/local/bin/php" | phps = "/usr/local/bin/php-fastcgi" |
| php5 = "/usr/local/bin/php" | php3 = "/usr/local/bin/php-fastcgi" |
| | php4 = "/usr/local/bin/php-fastcgi" |
| | php5 = "/usr/local/bin/php-fastcgi" |