Make more in-line with the code.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1680 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-05-07 20:11:11 +00:00
parent 63830eb135
commit 0febabc464

View File

@@ -1,6 +1,6 @@
.\" $Id$ .\" $Id$
.\" .\"
.Dd April 19, 1997 .Dd May 7, 1997
.Dt FTPUSERS 5 .Dt FTPUSERS 5
.Os KTH-KRB .Os KTH-KRB
.Sh NAME .Sh NAME
@@ -10,24 +10,29 @@ FTP access list file.
.Sh DESCRIPTION .Sh DESCRIPTION
.Pa /etc/ftpusers .Pa /etc/ftpusers
contains a list of users that should be allowed or denied FTP contains a list of users that should be allowed or denied FTP
access. It contains a list of users, one on each line, followed by access. Each line contains a user, optionally followed by
either .Dq allow
(anything but
.Dq allow .Dq allow
or is ignored). The semi-user
.Dq deny .
Any string that isn't
.Dq allow
is taken as
.Dq deny .
If a user is not mentioned in the file, he is allowed access, unless
the semi-user
.Dq * .Dq *
is denied, or the file doesn't exist at all. matches any user. Users that has an explicit
.Dq allow ,
or that does not match any line, are allowed access. Anyone else is
denied access.
Note that this is compatible with the old format, where this file
contained a list of users that should be denied access.
.Sh EXAMPLES .Sh EXAMPLES
This will allow anyone but ``foo'' to use FTP: This will deny anyone but
.Dq foo
and
.Dq bar
to use FTP:
.Bd -literal .Bd -literal
foo deny foo allow
* allow bar allow
*
.Ed .Ed
.Sh SEE ALSO .Sh SEE ALSO
.Xr ftpd 8 .Xr ftpd 8