ftpusers revision 1.3 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 #
12 root deny
13 toor 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 #
21 ftp@*.NetBSD.org allow localguest
22 ftp (a] 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 #
28 ftp allow
29 anonymous 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