Access control file for ftpd
/etc/ftpusers
The /etc/ftpusers file provides user access control for ftpd by defining which users may login.
If the /etc/ftpusers file doesn't exist, all users are denied access. |
The syntax of each line is:
userglob[:groupglob][@host] [directive [class]]
where:
If none of the above values are specified, user access is denied.
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 server checks to see that both anonymous and ftp have access. If you deny all users by default, you'll need to add both anonymous allow and ftp allow to /etc/ftpusers in order to allow guest logins.
The character: | Meaning: |
---|---|
\ | Escape character. It can be used to escape the meaning of the comment character, or if it's the last character on a line, it extends a configuration directive across multiple lines. |
# | Comment character. All characters from it to the end of line are ignored (unless it's escaped with the escape character). |
fnmatch(), inet_net_pton() in the Library Reference