# A template for an anonymous only ftp server running from ~ftp/ # $moftpd: anon.conf 1251 2005-03-06 22:24:29Z morth $ UnprivUid nobody UnprivGid nogroup Port 21 Bind * WelcomeMsg "Service available for anonymous access." AllowForeign yes AllowLogin no PassIfInvalid no UserInvalidMsg "Only anonymous access at this address." Chroot ~ MaxIdle 5m PAMService ftpd DirectoryMsgFile .ftpmessage # Hide and disallow .-files. Mask ".*" Deny all Hidden yes Deny all Allow reading FakeUser ftp FakeGroup ftp FakeFileMode "-rw-r--r--" FakeDirMode "drwxr-xr-x" Alias ftp Anonymous yes # Anonymous turns on AllowLogin MaxLogins 50 Home "~ftp"