summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/ftpd.8
diff options
context:
space:
mode:
authordavidn <davidn@FreeBSD.org>1997-04-27 08:29:21 +0000
committerdavidn <davidn@FreeBSD.org>1997-04-27 08:29:21 +0000
commit004ba69629473c807f8ac40afcb075a5446cfd6e (patch)
treedf73676e07a91506398591be4adcb7231d354b25 /libexec/ftpd/ftpd.8
parent7be3f36014f5e651bda8df48d0cd0db57dda4730 (diff)
downloadFreeBSD-src-004ba69629473c807f8ac40afcb075a5446cfd6e.zip
FreeBSD-src-004ba69629473c807f8ac40afcb075a5446cfd6e.tar.gz
YAMF2.2: Allow @group entries in /etc/ftpusers & /etc/ftpchroot to deny
and allow chroot access to entire groups.
Diffstat (limited to 'libexec/ftpd/ftpd.8')
-rw-r--r--libexec/ftpd/ftpd.819
1 files changed, 14 insertions, 5 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8
index e20b688..6bea61c 100644
--- a/libexec/ftpd/ftpd.8
+++ b/libexec/ftpd/ftpd.8
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)ftpd.8 8.2 (Berkeley) 4/19/94
-.\" $Id: ftpd.8,v 1.15 1997/04/23 04:56:39 davidn Exp $
+.\" $Id: ftpd.8,v 1.16 1997/04/26 12:23:51 davidn Exp $
.\"
.Dd April 19, 1994
.Dt FTPD 8
@@ -261,11 +261,20 @@ Bellcore.
The login name must not appear in the file
.Pa /etc/ftpusers .
.It
+The login name must not be a member of a group specified in the file
+.Pa /etc/ftpusers .
+Entries in this file interpreted as group names are prefixed by an "at"
+.Ql \&@
+sign.
+.It
The user must have a standard shell returned by
.Xr getusershell 3 .
.It
If the user name appears in the file
-.Pa /etc/ftpchroot
+.Pa /etc/ftpchroot ,
+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
.Xr chroot 2
as for an
@@ -273,13 +282,13 @@ as for an
or
.Dq ftp
account (see next item).
-This facility may also be used by using the boolean "ftp-chroot"
+This facility may also be triggered by enabling the boolean "ftp-chroot"
capability in
.Xr login.conf 5 .
However, the user must still supply a password.
This feature is intended as a compromise between a fully anonymous account
-and a fully privileged account. The account should also be set up as for an
-anonymous account.
+and a fully privileged account.
+The account should also be set up as for an anonymous account.
.It
If the user name is
.Dq anonymous
OpenPOWER on IntegriCloud