Home | History | Annotate | Line # | Download | only in ftpd
ftpusers revision 1.1
      1 #	$NetBSD: ftpusers,v 1.1 2000/01/08 13:31:00 lukem Exp $
      2 #
      3 # example /etc/ftpusers
      4 #
      5 
      6 # prevent the following from logging in:
      7 #	- users `root' and `toor'
      8 #	- group `noftp'
      9 #	- connections from 127.0.0.0/8 (i.e, localhost)
     10 #	- connections from *.spammer.com
     11 #
     12 root			deny
     13 toor			deny
     14 *:noftp			deny
     15 *@127.0.0.0/8		deny
     16 *@*.spammer.com		deny
     17 
     18 # anonymous ftp connections from *.netbsd.org go into class `localanon'
     19 #
     20 ftp@*.netbsd.org	allow	localanon
     21 
     22 # permit anonymous ftp connections from elsewhere (both entries are required,
     23 # for backwards compatibility)
     24 #
     25 ftp			allow
     26 anonymous		allow
     27 
     28 # users who are members of a group name which ends with `src' connecting
     29 # from any host in the netbsd.org domain become class `source'
     30 #
     31 *:*src@*.netbsd.org	allow	source
     32 
     33 # prevent all other users
     34 #
     35 *			deny
     36