summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2008-07-14 01:55:56 +0000
committerdjm <djm@openbsd.org>2008-07-14 01:55:56 +0000
commitec2f82ec1e779a157fdf48daa3a04f0fe622a9e1 (patch)
treeebfdc958a8d5016b570a6081036c789e8a7721d2
parentcode(4) doesnt exist. cmp(4) is probably a bit more relevant. (diff)
downloadwireguard-openbsd-ec2f82ec1e779a157fdf48daa3a04f0fe622a9e1.tar.xz
wireguard-openbsd-ec2f82ec1e779a157fdf48daa3a04f0fe622a9e1.zip
mention requirement for /dev/log inside chroot when using sftp-server
with ChrootDirectory
-rw-r--r--usr.bin/ssh/sftp-server.815
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp-server.8 b/usr.bin/ssh/sftp-server.8
index d760974ca8f..8b713139084 100644
--- a/usr.bin/ssh/sftp-server.8
+++ b/usr.bin/ssh/sftp-server.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sftp-server.8,v 1.12 2007/05/31 19:20:16 jmc Exp $
+.\" $OpenBSD: sftp-server.8,v 1.13 2008/07/14 01:55:56 djm Exp $
.\"
.\" Copyright (c) 2000 Markus Friedl. All rights reserved.
.\"
@@ -22,7 +22,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 14 2008 $
.Dt SFTP-SERVER 8
.Os
.Sh NAME
@@ -72,6 +72,17 @@ DEBUG and DEBUG1 are equivalent.
DEBUG2 and DEBUG3 each specify higher levels of debugging output.
The default is ERROR.
.El
+.Pp
+For logging to work,
+.Nm
+must be able to access
+.Pa /dev/log .
+Use of
+.Nm
+in a chroot configuation therefore requires that
+.Xr syslogd 8
+establish a logging socket inside the chroot directory.
+.Pp
.Sh SEE ALSO
.Xr sftp 1 ,
.Xr ssh 1 ,