xref: /netbsd/share/examples/ftpd/ftpusers (revision 6550d01e)
1#	$NetBSD: ftpusers,v 1.3 2003/07/26 20:17:31 salo Exp $
2#
3# example /etc/ftpusers
4#
5
6# prevent the following from logging in:
7#	- users `root' and `toor'
8#	- members of the group `noftp'
9#	- connections from 10.0.0.0/8
10#	- connections from *.spammer.com
11#
12root			deny
13toor			deny
14*:noftp			deny
15*@10.0.0.0/8		deny
16*@*.spammer.com		deny
17
18# anonymous ftp connections from *.NetBSD.org and 204.152.186.0/24 go into
19# class `localguest'
20#
21ftp@*.NetBSD.org	allow	localguest
22ftp@204.152.186.0/24	allow	localguest
23
24# permit anonymous ftp connections from elsewhere (both entries are required,
25# for backwards compatibility, although `ftp' is the user checked in other
26# rules)
27#
28ftp			allow
29anonymous		allow
30
31# users who are members of a group name which ends with `src', connecting
32# from any host in the *.NetBSD.org domain become class `source'
33#
34*:*src@*.NetBSD.org	allow	source
35
36# prevent all other users
37#
38*			deny
39