matched against the user name, using fnmatch(3) glob matching (e.g, 'f*').
groupglob
matched against all the groups that the user is a member of, using fnmatch(3) glob matching (e.g, '*src').
host
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').
directive
If "allow" or "yes" the user is allowed access. If "deny" or "no", or directive is not given, the user is denied access.
class
defines the class to use in ftpd.conf(5).
If class is not given, it defaults to one of the following:
chroot
If there is a match in /etc/ftpchroot for the user.
guest
If the user name is "anonymous" or 'ftp'.
real
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 backward-compatible 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.