1 1.4 lukem # $NetBSD: ftpusers,v 1.4 2023/09/22 22:15:47 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.2 lukem # - members of the group `noftp' 9 1.4 lukem # - connections from 192.0.2.0/24 10 1.4 lukem # - connections from *.spammer.example 11 1.1 lukem # 12 1.1 lukem root deny 13 1.1 lukem toor deny 14 1.1 lukem *:noftp deny 15 1.4 lukem *@192.0.2.0/24 deny 16 1.4 lukem *@*.spammer.example deny 17 1.1 lukem 18 1.4 lukem # anonymous ftp connections from *.NetBSD.org and 127.0.0.0/8 go into 19 1.2 lukem # class `localguest' 20 1.1 lukem # 21 1.3 salo ftp@*.NetBSD.org allow localguest 22 1.4 lukem ftp (a] 127.0.0.0/8 allow localguest 23 1.1 lukem 24 1.1 lukem # permit anonymous ftp connections from elsewhere (both entries are required, 25 1.2 lukem # for backwards compatibility, although `ftp' is the user checked in other 26 1.2 lukem # rules) 27 1.1 lukem # 28 1.1 lukem ftp allow 29 1.1 lukem anonymous allow 30 1.1 lukem 31 1.2 lukem # users who are members of a group name which ends with `src', connecting 32 1.3 salo # from any host in the *.NetBSD.org domain become class `source' 33 1.1 lukem # 34 1.3 salo *:*src@*.NetBSD.org allow source 35 1.1 lukem 36 1.1 lukem # prevent all other users 37 1.1 lukem # 38 1.1 lukem * deny 39