Date: Mon, 29 Jan 2001 17:42:04 -0000 From: "G D McKee" <freebsd@gdmckee.com> To: "freebsd-questions" <freebsd-questions@FreeBSD.ORG> Subject: ProFTPD Message-ID: <001601c08a1a$cabf6ea0$0500a8c0@gdmckee.local>
index | next in thread | raw e-mail
[-- Attachment #1 --] Hi Having problems trying to get this to work. Does anyone have a config file that supports anon users with upload capabilities, but disallows you to download files uploaded and or a config that enables everyone else to login as themselves and get the appropriate access they would normally get. I have attached my config file. It is pretty standard. It just doesn't let anyone log in. A little too secure I think!!! Gordon [-- Attachment #2 --] # # To have more informations about Proftpd configuration # look at : http://www.proftpd.org/ # # This is a basic ProFTPD configuration file (rename it to # 'proftpd.conf' for actual use. It establishes a single server # and a single anonymous login. It assumes that you have a user/group # "nobody" and "ftp" for normal operation and anon. ServerName "ProFTPD Default Installation" ServerType standalone DefaultServer on # Port 21 is the standard FTP port. Port 21 # Umask 022 is a good standard umask to prevent new dirs and files # from being group and world writable. Umask 022 # To prevent DoS attacks, set the maximum number of child processes # to 30. If you need to allow more than 30 concurrent connections # at once, simply increase this value. Note that this ONLY works # in standalone mode, in inetd mode you should use an inetd server # that allows you to limit maximum number of processes per service # (such as xinetd) MaxInstances 30 # Set the user and group that the server normally runs at. User nobody Group nogroup # Normally, we want files to be overwriteable. <Directory /*> AllowOverwrite on </Directory> ######################################################################### # # # Uncomment lines with only one # to allow basic anonymous access # # # ######################################################################### ### A basic anonymous configuration, no upload directories. <Anonymous ~ftp> User ftp Group ftp ### We want clients to be able to login with "anonymous" as well as "ftp" UserAlias anonymous ftp ### Limit the maximum number of anonymous logins MaxClients 10 ### It is wise when making an 'ftp' user that you either block its ### ability to login either via /etc/login.access or my giving it ### an invalid shell. ### Uncomment this if the 'ftp' user you made has an invalid shell RequireValidShell off ### We want 'welcome.msg' displayed at login, and '.message' displayed ### in each newly chdired directory. # DisplayLogin welcome.msg # DisplayFirstChdir .message ### Limit WRITE everywhere in the anonymous chroot <Limit WRITE> DenyAll </Limit> </Anonymous>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001601c08a1a$cabf6ea0$0500a8c0>
