ftphosts(4)ftphosts(4)NAMEftphosts - ftpd individual user host access file
SYNOPSISDESCRIPTION
The file is used to allow or deny access to certain accounts from vari‐
ous hosts.
Access Capabilities
The formats to allow and deny access are described in this section.
addrglob [ addrglob... ]
Only allow host(s) matching addrglob to log in as username.
addrglob is a globbed domain name or a globbed numeric address.
addrglob [ addrglob ... ]
Always deny host(s) matching addrglob to log in as username.
addrglob is a globbed domain name or a globbed numeric address.
A username of or specifies the anonymous user.
The addrglob can also be specified as address/cidr or address:netmask.
For example:
or
Specifying Both allow and deny Rules
To allow a user to login from anywhere except the listed hosts, both
allow and deny rules are required.
The following example denies the user from logging in from the host but
allows login from all other hosts:
EXAMPLES
Allow the user, to login from the host named and from all hosts with
numeric addresses starting with
Deny (do not allow) the user, to login from the host named and from all
hosts with numeric addresses starting with
Allow the user, to login from the host named
FILESAUTHOR
was developed by the Washington University, St. Louis, Missouri.
SEE ALSOftpd(1M), ftpaccess(4), ftpconversions(4), ftpshut(1).
ftphosts(4)