Skip site navigation (1)Skip section navigation (2)
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>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0013_01C08A1A.CAAEA5C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

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

------=_NextPart_000_0013_01C08A1A.CAAEA5C0
Content-Type: application/octet-stream;
	name="proftpd.conf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="proftpd.conf"

#=0A=
# To have more informations about Proftpd configuration=0A=
# look at : http://www.proftpd.org/=0A=
#=0A=
=0A=
# This is a basic ProFTPD configuration file (rename it to =0A=
# 'proftpd.conf' for actual use.  It establishes a single server=0A=
# and a single anonymous login.  It assumes that you have a user/group=0A=
# "nobody" and "ftp" for normal operation and anon.=0A=
=0A=
ServerName			"ProFTPD Default Installation"=0A=
ServerType			standalone=0A=
DefaultServer			on=0A=
=0A=
# Port 21 is the standard FTP port.=0A=
Port				21=0A=
# Umask 022 is a good standard umask to prevent new dirs and files=0A=
# from being group and world writable.=0A=
Umask				022=0A=
=0A=
# To prevent DoS attacks, set the maximum number of child processes=0A=
# to 30.  If you need to allow more than 30 concurrent connections=0A=
# at once, simply increase this value.  Note that this ONLY works=0A=
# in standalone mode, in inetd mode you should use an inetd server=0A=
# that allows you to limit maximum number of processes per service=0A=
# (such as xinetd)=0A=
MaxInstances			30=0A=
=0A=
# Set the user and group that the server normally runs at.=0A=
User				nobody=0A=
Group				nogroup=0A=
=0A=
# Normally, we want files to be overwriteable.=0A=
<Directory /*>=0A=
  AllowOverwrite		on=0A=
</Directory>=0A=
=0A=
=0A=
#########################################################################=0A=
#									#=0A=
# Uncomment lines with only one # to allow basic anonymous access	#=0A=
#									#=0A=
#########################################################################=0A=
=0A=
### A basic anonymous configuration, no upload directories.=0A=
 <Anonymous ~ftp>=0A=
  User				ftp=0A=
  Group				ftp=0A=
  ### We want clients to be able to login with "anonymous" as well as =
"ftp"=0A=
   UserAlias			anonymous ftp=0A=
=0A=
  ### Limit the maximum number of anonymous logins=0A=
   MaxClients			10=0A=
=0A=
  ### It is wise when making an 'ftp' user that you either block its=0A=
  ### ability to login either via /etc/login.access or my giving it=0A=
  ### an invalid shell.=0A=
  ### Uncomment this if the 'ftp' user you made has an invalid shell=0A=
=0A=
   RequireValidShell		off=0A=
=0A=
  ### We want 'welcome.msg' displayed at login, and '.message' displayed=0A=
  ### in each newly chdired directory.=0A=
  # DisplayLogin			welcome.msg=0A=
  # DisplayFirstChdir		.message=0A=
=0A=
  ### Limit WRITE everywhere in the anonymous chroot=0A=
   <Limit WRITE>=0A=
    DenyAll=0A=
   </Limit>=0A=
=0A=
 </Anonymous>=0A=

------=_NextPart_000_0013_01C08A1A.CAAEA5C0--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001601c08a1a$cabf6ea0$0500a8c0>