NetBSD/share/examples/ftpd/ftpusers

39 lines
915 B
Plaintext

# $NetBSD: ftpusers,v 1.3 2003/07/26 20:17:31 salo Exp $
#
# example /etc/ftpusers
#
# prevent the following from logging in:
# - users `root' and `toor'
# - members of the group `noftp'
# - connections from 10.0.0.0/8
# - connections from *.spammer.com
#
root deny
toor deny
*:noftp deny
*@10.0.0.0/8 deny
*@*.spammer.com deny
# anonymous ftp connections from *.NetBSD.org and 204.152.186.0/24 go into
# class `localguest'
#
ftp@*.NetBSD.org allow localguest
ftp@204.152.186.0/24 allow localguest
# permit anonymous ftp connections from elsewhere (both entries are required,
# for backwards compatibility, although `ftp' is the user checked in other
# rules)
#
ftp allow
anonymous allow
# users who are members of a group name which ends with `src', connecting
# from any host in the *.NetBSD.org domain become class `source'
#
*:*src@*.NetBSD.org allow source
# prevent all other users
#
* deny