ftpusers revision 1.3
11.3Ssalo#	$NetBSD: ftpusers,v 1.3 2003/07/26 20:17:31 salo 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.3Ssalo# anonymous ftp connections from *.NetBSD.org and 204.152.186.0/24 go into
191.2Slukem# class `localguest'
201.1Slukem#
211.3Ssaloftp@*.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.3Ssalo# from any host in the *.NetBSD.org domain become class `source'
331.1Slukem#
341.3Ssalo*:*src@*.NetBSD.org	allow	source
351.1Slukem
361.1Slukem# prevent all other users
371.1Slukem#
381.1Slukem*			deny
39