ftphosts - ftpd individual user host access file
Description
The ftphosts file is used to allow or deny access to cer
tain accounts from various hosts.
Access Capabilities
allow <username> <addrglob> [<addrglob> ...]
Only allow host(s) matching <addrglob> to log in as
<username>.
deny <username> <addrglob> [<addrglob> ...]
Always deny host(s) matching <addrglob> to log in as
<username>.
A username of anonymous or ftp specifies the anonymous
user.
The <addrglob> may be also be specified as address/cidr or
address:netmask. For example: 10.0.0.0/8 or
10.0.0.0:255.0.0.0
NOTE VERY CAREFULLY:
The last rule which matches is the default rule. So, to
allow a user to login from anywhere _except_ the listed
hosts, you need both allow and deny rules. The following
example denies the user hacked from logging in from the
host 10.1.2.3, but allows login from all other hosts.
deny hacked 10.1.2.3 allow hacked *
Files
FTPLIB/ftphosts
See Also
ftpd(8), ftpaccess(5), xferlog(5), ftpconversions(5), ftp
shut(8)
Man(1) output converted with
man2html