From 478c021afefd06d40fe5199b1435a68cbb9a79d2 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 1 Aug 2018 11:47:29 +0000 Subject: [PATCH] Clarify that we chroot to the users home directory if -u is provided. Pointed out by Andrew Daugherity (andrew.daugherity AT gmail), thanks! Tweaks and OK jmc --- usr.sbin/slowcgi/slowcgi.8 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/usr.sbin/slowcgi/slowcgi.8 b/usr.sbin/slowcgi/slowcgi.8 index 52bded7eee6..8e9340e7acb 100644 --- a/usr.sbin/slowcgi/slowcgi.8 +++ b/usr.sbin/slowcgi/slowcgi.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: slowcgi.8,v 1.12 2017/10/17 22:47:58 schwarze Exp $ +.\" $OpenBSD: slowcgi.8,v 1.13 2018/08/01 11:47:29 florian Exp $ .\" .\" Copyright (c) 2013 Florian Obser .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 17 2017 $ +.Dd $Mdocdate: August 1 2018 $ .Dt SLOWCGI 8 .Os .Sh NAME @@ -78,7 +78,11 @@ Create and bind to alternative local socket at .It Fl u Ar user Drop privileges to .Ar user -instead of default user www. +instead of default user www and +.Xr chroot 8 +to +the home directory of +.Ar user . .El .Sh SEE ALSO .Xr httpd 8 -- 2.20.1