head	1.6;
access;
symbols
	tnftpd-20080609:1.5
	tnftpd-20061217:1.4
	tnftpd-20061204:1.4
	tnftpd-20040810:1.3
	tnftpd-20031217:1.3
	tnftpd-20031210:1.3
	tnftpd-2-0-beta3:1.1
	tnftpd-2-0-beta2:1.1
	tnftpd-2-0-beta1:1.1;
locks; strict;
comment	@# @;


1.6
date	2008.09.21.16.21.57;	author lukem;	state dead;
branches;
next	1.5;

1.5
date	2008.06.01.06.14.48;	author lukem;	state Exp;
branches;
next	1.4;

1.4
date	2006.09.26.07.02.12;	author lukem;	state Exp;
branches;
next	1.3;

1.3
date	2003.12.10.01.56.47;	author lukem;	state Exp;
branches;
next	1.2;

1.2
date	2003.02.28.03.54.59;	author lukem;	state Exp;
branches;
next	1.1;

1.1
date	2002.10.26.12.22.51;	author lukem;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Don't bother shipping formatted catman pages.
@
text
@FTPUSERS(5)               NetBSD File Formats Manual               FTPUSERS(5)

NNAAMMEE
     ffttppuusseerrss, ffttppcchhrroooott -- tnftpd(8) access control file

DDEESSCCRRIIPPTTIIOONN
     The ffttppuusseerrss file provides user access control for tnftpd(8) by defining
     which users may login.

     If the ffttppuusseerrss file does not exist, all users are denied access.

     A ``\'' 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 ``#'' is the comment
     character, and all characters from it to the end of line are ignored
     (unless it is escaped with the escape character).

     The syntax of each line is:
           userglob[:groupglob][@@host] [directive [class]]

     These elements are:

           uusseerrgglloobb   matched against the user name, using fnmatch(3) glob
                      matching (e.g, `f*').

           ggrroouuppgglloobb  matched against all the groups that the user is a member
                      of, using fnmatch(3) glob matching (e.g, `*src').

           hhoosstt       either a CIDR address (refer to inet_net_pton(3)) to
                      match against the remote address (e.g, `1.2.3.4/24'), or
                      an fnmatch(3) glob to match against the remote hostname
                      (e.g, `*.NetBSD.org').

           ddiirreeccttiivvee  If ``allow'' or ``yes'' the user is allowed access.  If
                      ``deny'' or ``no'', or ddiirreeccttiivvee is not given, the user
                      is denied access.

           ccllaassss      defines the class to use in ftpd.conf(5).

     If ccllaassss is not given, it defaults to one of the following:

           cchhrroooott  If there is a match in _/_e_t_c_/_f_t_p_c_h_r_o_o_t for the user.

           gguueesstt   If the user name is ``anonymous'' or `ftp'.

           rreeaall    If neither of the above is true.

     No further comparisons are attempted after the first successful match.
     If no match is found, the user is granted access.  This syntax is back-
     ward-compatible with the old syntax.

     If a user requests a guest login, the tnftpd(8) server checks to see that
     both ``anonymous'' and ``ftp'' have access, so if you deny all users by
     default, you will need to add both ``anonymous allow'' and ``ftp allow''
     to _/_e_t_c_/_f_t_p_u_s_e_r_s in order to allow guest logins.

   //eettcc//ffttppcchhrroooott
     The file _/_e_t_c_/_f_t_p_c_h_r_o_o_t is used to determine which users will have their
     session's root directory changed (using chroot(2)), either to the direc-
     tory specified in the ftpd.conf(5) cchhrroooott directive (if set), or to the
     home directory of the user.  If the file does not exist, the root direc-
     tory change is not performed.

     The syntax is similar to ffttppuusseerrss, except that the ccllaassss argument is
     ignored.  If there's a positive match, the session's root directory is
     changed.  No further comparisons are attempted after the first successful
     match.  This syntax is backward-compatible with the old syntax.

FFIILLEESS
     /etc/ftpchroot                     List of normal users who should have
                                        their ftp session's root directory
                                        changed by using chroot(2).
     /etc/ftpusers                      This file.
     /usr/share/examples/ftpd/ftpusers  A sample ffttppuusseerrss file.

SSEEEE AALLSSOO
     fnmatch(3), inet_net_pton(3), ftpd.conf(5), tnftpd(8)

NetBSD 3.1.1                   February 28, 2003                  NetBSD 3.1.1
@


1.5
log
@Regenerate
@
text
@@


1.4
log
@Rebuild cat pages
@
text
@d79 1
a79 1
NetBSD 3.0.1                   February 28, 2003                  NetBSD 3.0.1
@


1.3
log
@regenerate from mdoc sources
@
text
@d4 1
a4 1
     ffttppuusseerrss, ffttppcchhrroooott - tnftpd(8) access control file
d79 1
a79 1
NetBSD 1.6                     February 28, 2003                    NetBSD 1.6
@


1.2
log
@regenerate from mdoc sources (with ftpd.8 -> tnftpd.cat8)
@
text
@d1 1
a1 1
FTPUSERS(5)               NetBSD Programmer's Manual               FTPUSERS(5)
d15 2
a16 2
     character, and all characters from it to the end of line are ignored (un-
     less it is escaped with the escape character).
d32 1
a32 1
                      (e.g, `*.netbsd.org').
d64 4
a67 4
     The syntax is similar to , except that the ccllaassss argument is ignored.  If
     there's a positive match, the session's root directory is changed.  No
     further comparisons are attempted after the first successful match.  This
     syntax is backward-compatible with the old syntax.
d79 1
a79 1
NetBSD 1.6.1_RC2               February 28, 2003                             2
@


1.1
log
@- convert to using tnftpd.h
- generate the man pages
- crank the version back to 2.0 beta 1
- remove now unnecessary files
@
text
@d4 1
a4 1
     ffttppuusseerrss, ffttppcchhrroooott - ftpd(8) access control file
d7 1
a7 1
     The ffttppuusseerrss file provides user access control for ftpd(8) by defining
d52 1
a52 1
     If a user requests a guest login, the ftpd(8) server checks to see that
d64 4
a67 4
     The syntax is similar to ffttppuusseerrss, except that the ccllaassss argument is ig-
     nored.  If there's a positive match, the session's root directory is
     changed.  No further comparisons are attempted after the first successful
     match.  This syntax is backward-compatible with the old syntax.
d77 1
a77 1
     fnmatch(3), inet_net_pton(3), ftpd.conf(5), ftpd(8)
d79 1
a79 1
NetBSD 1.6                       July 17, 2000                               2
@

