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