NetBSD/share/examples/ftpd/ftpusers

39 lines
915 B
Plaintext
Raw Normal View History

2003-07-27 00:17:31 +04:00
# $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
2003-07-27 00:17:31 +04:00
# anonymous ftp connections from *.NetBSD.org and 204.152.186.0/24 go into
# class `localguest'
#
2003-07-27 00:17:31 +04:00
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
2003-07-27 00:17:31 +04:00
# from any host in the *.NetBSD.org domain become class `source'
#
2003-07-27 00:17:31 +04:00
*:*src@*.NetBSD.org allow source
# prevent all other users
#
* deny