diff options
author | florian | 2014-06-10 14:38:27 +0000 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-05-24 12:33:55 +0200 |
commit | a042f2ea8835a5f1e6c643d231e5c091e239d28d (patch) | |
tree | fce2d0e049e0cf0391024371708abdcdd7db73f2 /slowcgi.8 | |
parent | 660dbaae4ad1ac9a2fe96efaf13d984db7ee4b89 (diff) | |
download | slowcgi-a042f2ea8835a5f1e6c643d231e5c091e239d28d.tar.gz |
Implement -u (user to drop privs to) and -p flag (path to chroot to). This allows to run slowcgi non-chrooted with -p /, requested by at least ratchov@ and henning@. Input by many, OK ratchov@ on a previous diff, "looks good" millert@, man page bits tweak and OK schwarze@ (all some time ago); OK henning@
Diffstat (limited to 'slowcgi.8')
-rw-r--r-- | slowcgi.8 | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1,4 +1,4 @@ -.\" $OpenBSD: slowcgi.8,v 1.8 2014/06/10 14:33:01 florian Exp $ +.\" $OpenBSD: slowcgi.8,v 1.9 2014/06/10 14:38:27 florian Exp $ .\" .\" Copyright (c) 2013 Florian Obser <florian@openbsd.org> .\" @@ -23,7 +23,9 @@ .Sh SYNOPSIS .Nm .Op Fl d +.Op Fl p Ar path .Op Fl s Ar socket +.Op Fl u Ar user .Sh DESCRIPTION .Nm is a server which implements the FastCGI Protocol to execute CGI scripts. @@ -65,9 +67,22 @@ Do not daemonize. If this option is specified, .Nm will run in the foreground and log to stderr. +.It Fl p Ar path +.Xr chroot 2 +to +.Ar path . +A +.Ar path +of +.Pa / +effectively disables the chroot. .It Fl s Ar socket Create and bind to alternative local socket at .Ar socket . +.It Fl u Ar user +Drop privileges to +.Ar user +instead of default user www. .El .\" .Sh SEE ALSO .Sh STANDARDS |