ftpusers revision 1.2 1 # $NetBSD: ftpusers,v 1.2 2000/01/09 13:19:19 lukem 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