summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1997-10-06 16:28:47 +0000
committerimp <imp@FreeBSD.org>1997-10-06 16:28:47 +0000
commitbb9f358c5ad97ca9a4580e827c534c73a4ba9a65 (patch)
tree77df36f48e4d1044d1befdf4d6fb557589b8a68e
parent0dde35d1954d8de1407079053b03a9d0d3dc3609 (diff)
downloadFreeBSD-src-bb9f358c5ad97ca9a4580e827c534c73a4ba9a65.zip
FreeBSD-src-bb9f358c5ad97ca9a4580e827c534c73a4ba9a65.tar.gz
Clarify the actions of -s and the list of allowable names.
-rw-r--r--libexec/tftpd/tftpd.86
1 files changed, 5 insertions, 1 deletions
diff --git a/libexec/tftpd/tftpd.8 b/libexec/tftpd/tftpd.8
index 4a9004d..77b447f 100644
--- a/libexec/tftpd/tftpd.8
+++ b/libexec/tftpd/tftpd.8
@@ -68,7 +68,8 @@ Due to the lack of authentication information,
.Nm tftpd
will allow only publicly readable files to be
accessed.
-Files containing the string ``/\|\fB.\|.\fP\|/'' are not allowed.
+Files containing the string ``/\|\fB.\|.\fP\|/'' or starting with
+``\|\fB.\|.\fP\|/'' are not allowed.
Files may be written only if they already exist and are publicly writable.
Note that this extends the concept of
.Dq public
@@ -110,6 +111,9 @@ Causes tftpd to chroot to
.Pa directory
before accepting commands. In addition, the user id is set to
nobody.
+.Pp
+If you are not running -s, no user id change will be
+attempted. You should not run tftpd as root unless you are using -s.
.El
.Sh SEE ALSO
.Xr tftp 1 ,
OpenPOWER on IntegriCloud