11.4Slukem#	$NetBSD: ftpusers,v 1.4 2023/09/22 22:15:47 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.4Slukem#	- connections from 192.0.2.0/24
101.4Slukem#	- connections from *.spammer.example
111.1Slukem#
121.1Slukemroot			deny
131.1Slukemtoor			deny
141.1Slukem*:noftp			deny
151.4Slukem*@192.0.2.0/24		deny
161.4Slukem*@*.spammer.example	deny
171.1Slukem
181.4Slukem# anonymous ftp connections from *.NetBSD.org and 127.0.0.0/8 go into
191.2Slukem# class `localguest'
201.1Slukem#
211.3Ssaloftp@*.NetBSD.org	allow	localguest
221.4Slukemftp@127.0.0.0/8		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