1#         $NetBSD: ftpusers,v 1.4 2023/09/22 22:15:47 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 192.0.2.0/24
10#         - connections from *.spammer.example
11#
12root                          deny
13toor                          deny
14*:noftp                       deny
15*@192.0.2.0/24                deny
16*@*.spammer.example deny
17
18# anonymous ftp connections from *.NetBSD.org and 127.0.0.0/8 go into
19# class `localguest'
20#
21ftp@*.NetBSD.org    allow     localguest
22ftp@127.0.0.0/8               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