diff options
author | yar <yar@FreeBSD.org> | 2003-01-26 19:02:56 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2003-01-26 19:02:56 +0000 |
commit | 411365f15d431cee967e5d16b04ee1687c259a3c (patch) | |
tree | dc49b88ce40df8ea4f9fd4260336ea4f3855c206 /libexec/ftpd/ftpd.8 | |
parent | d3dc53e828a4947398b7352bad769336a1fc1da2 (diff) | |
download | FreeBSD-src-411365f15d431cee967e5d16b04ee1687c259a3c.zip FreeBSD-src-411365f15d431cee967e5d16b04ee1687c259a3c.tar.gz |
Extend the format of /etc/ftpchroot so an alternative chroot
directory can be specified for a user or a group.
Add the manpage ftpchroot(5) since the file's format has grown
complex enough.
PR: bin/45327
Portions submitted by: Hideki SAKAMOTO <sakamoto@hlla.is.tsukuba.ac.jp>
MFC after: 1 week
Diffstat (limited to 'libexec/ftpd/ftpd.8')
-rw-r--r-- | libexec/ftpd/ftpd.8 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8 index b995b8a..9d9fd82 100644 --- a/libexec/ftpd/ftpd.8 +++ b/libexec/ftpd/ftpd.8 @@ -358,13 +358,17 @@ If the user name appears in the file or the user is a member of a group with a group entry in this file, i.e. one prefixed with .Ql \&@ , -the session's root will be changed to the user's login directory by +the session's root will be changed to the directory specified +in this file or to the user's login directory by .Xr chroot 2 as for an .Dq anonymous or .Dq ftp account (see next item). +See +.Xr ftpchroot 5 +for a detailed description of the format of this file. This facility may also be triggered by enabling the boolean "ftp-chroot" capability in .Xr login.conf 5 . @@ -518,6 +522,7 @@ Default place for session logs. .Xr key 1 , .Xr umask 2 , .Xr getusershell 3 , +.Xr ftpchroot 5 , .Xr login.conf 5 , .Xr inetd 8 , .Xr syslogd 8 |