ftpusers revision 1.2
11.2Slukem#	$NetBSD: ftpusers,v 1.2 2000/01/09 13:19:19 lukem Exp $
21.1Slukem#
31.1Slukem# example /etc/ftpusers
41.1Slukem#
51.1Slukem
61.1Slukem# prevent the following from logging in:
71.1Slukem#	- users `root' and `toor'
81.2Slukem#	- members of the group `noftp'
91.2Slukem#	- connections from 10.0.0.0/8
101.1Slukem#	- connections from *.spammer.com
111.1Slukem#
121.1Slukemroot			deny
131.1Slukemtoor			deny
141.1Slukem*:noftp			deny
151.2Slukem*@10.0.0.0/8		deny
161.1Slukem*@*.spammer.com		deny
171.1Slukem
181.2Slukem# anonymous ftp connections from *.netbsd.org and 204.152.186.0/24 go into
191.2Slukem# class `localguest'
201.1Slukem#
211.2Slukemftp@*.netbsd.org	allow	localguest
221.2Slukemftp@204.152.186.0/24	allow	localguest
231.1Slukem
241.1Slukem# permit anonymous ftp connections from elsewhere (both entries are required,
251.2Slukem# for backwards compatibility, although `ftp' is the user checked in other
261.2Slukem# rules)
271.1Slukem#
281.1Slukemftp			allow
291.1Slukemanonymous		allow
301.1Slukem
311.2Slukem# users who are members of a group name which ends with `src', connecting
321.2Slukem# from any host in the *.netbsd.org domain become class `source'
331.1Slukem#
341.1Slukem*:*src@*.netbsd.org	allow	source
351.1Slukem
361.1Slukem# prevent all other users
371.1Slukem#
381.1Slukem*			deny
39