| manpages.info - online man pages | ![]() |
|||
|
ftpusers (5) Table of Contents
Nameftpusers, ftpchroot - ftpd(8) access control file
DescriptionThe ftpusers file provides user access control for ftpd(8) by defining which users may login.
If the ftpusers 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:
These elements are:
groupglob matched against all the groups that the user is a member of, using fnmatch(3) glob matching (e.g, `*src').
directive If ``allow'' or ``yes'' the user is allowed access. If ``deny'' or ``no'', or directive is not given, the user is denied access.
If class is not given, it defaults to one of the following:
chroot If there is a match in /etc/ftpchroot for the user.
No further comparisons are attempted after the first successful match. If no match is found, the user is granted access. This syntax is backward-compatable with the old syntax.
If a user requests a guest login, the ftpd(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 /etc/ftpusers in order to allow guest logins.
/etc/ftpchroot
The syntax is similar to , except that the class 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-compatable with the old syntax.
Files/etc/ftpchroot List of normal users who should be chroot(2) ed.
See Alsofnmatch(3) , inet_net_pton(3) , ftpd.conf(5) , ftpd(8)
|