reorganise slightly to make it more obvious what the actual syntax of
a configuration line is.
This commit is contained in:
parent
279552d3db
commit
1ae178427f
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: ftpd.conf.5,v 1.11 2000/07/23 14:40:48 lukem Exp $
|
||||
.\" $NetBSD: ftpd.conf.5,v 1.12 2000/11/07 06:51:13 lukem Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1997-2000 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -34,7 +34,7 @@
|
|||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd July 23, 2000
|
||||
.Dd November 7, 2000
|
||||
.Dt FTPD.CONF 5
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -49,11 +49,33 @@ file specifies various configuration options for
|
|||
.Xr ftpd 8
|
||||
that apply once a user has authenticated their connection.
|
||||
.Pp
|
||||
.Nm
|
||||
consists of a series of lines, each of which may contain a
|
||||
configuration directive, a comment, or a blank line.
|
||||
Directives that appear later in the file override settings by previous
|
||||
directives.
|
||||
This allows
|
||||
.Sq wildcard
|
||||
entries to define defaults, and then have class-specific overrides.
|
||||
.Pp
|
||||
A directive line has the format
|
||||
.D1 Ic command Em class Op Ar \&...
|
||||
.Pp
|
||||
A
|
||||
.Dq \e
|
||||
is the escape character; it can be used to escape the meaning of the
|
||||
comment character, or if it is the last character on a line, extends
|
||||
a configuration directive across multiple lines.
|
||||
A
|
||||
.Dq #
|
||||
is the comment character, and all characters from it to the end of
|
||||
line are ignored (unless it is escaped with the escape character).
|
||||
.Pp
|
||||
Each authenticated user is a member of a
|
||||
.Sy class ,
|
||||
.Em class ,
|
||||
which is determined by
|
||||
.Xr ftpusers 5 .
|
||||
.Sy class
|
||||
.Em class
|
||||
is used to determine which
|
||||
.Nm
|
||||
entries apply to the user.
|
||||
|
@ -88,25 +110,6 @@ is performed after login.
|
|||
Normal users.
|
||||
.El
|
||||
.Pp
|
||||
.Nm
|
||||
consists of a series of lines, each of which may contain a
|
||||
configuration directive, a comment, or a blank line.
|
||||
Directives that appear later in the file override settings by previous
|
||||
directives.
|
||||
This allows
|
||||
.Sq wildcard
|
||||
entries to define defaults, and then have class-specific overrides.
|
||||
.Pp
|
||||
A
|
||||
.Dq \e
|
||||
is the escape character; it can be used to escape the meaning of the
|
||||
comment character, or if it is the last character on a line, extends
|
||||
a configuration directive across multiple lines.
|
||||
A
|
||||
.Dq #
|
||||
is the comment character, and all characters from it to the end of
|
||||
line are ignored (unless it is escaped with the escape character).
|
||||
.Pp
|
||||
The
|
||||
.Xr ftpd 8
|
||||
.Sy STAT
|
||||
|
@ -357,9 +360,7 @@ must be greater than
|
|||
.Ar min ,
|
||||
and both numbers must be be between
|
||||
.Dv IPPORT_RESERVED
|
||||
(1024) and
|
||||
.Dv IPPORT_ANONMAX
|
||||
(65535).
|
||||
(1024) and 65535.
|
||||
.It Sy rateget Ar class Ar rate
|
||||
Set the maximum get (RETR) transfer rate throttle for
|
||||
.Ar class
|
||||
|
|
Loading…
Reference in New Issue