Thread: Using FTP
View Single Post
  #12  
Old 2nd September 2005, 18:59
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
Yes, you should chech the authentication settings in your proftpd.conf. Is Authentication set to PAM or unix?
well that may definitely be a problem as I don't see anything regarding authentication in my conf file. I posted it here I got it from a HowTo on the net and only changed what they recommended.

Should I run Standalone, inted or xinted? I have been looking and was possibly considering this HowTo as a set up http://gentoo-wiki.com/HOWTO_ProFTPD Seems pretty good and understandable for even me. There is stuff there I don't need i.e. mySQL but it seems clear how you work around that if you don't need it. Basically it will be me and one user group from a forum. I would like them to be able to upload and download to one specific location. I have not tried to work the forum group into this conf file as I wanted to get learn it first and know I can use it before I opened it up to others.

thanks
lance

Code:
# This is the ProFTPD configuration file
# $Id: proftpd.conf,v 1.1 2004/02/26 17:54:30 thias Exp $

ServerName			"The Farm FTP"
ServerType			standalone
ServerIdent			off
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 under which the server will run.
User				nobody
Group				nobody

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

# Normally, we want files to be overwriteable.
<Directory />
  AllowOverwrite		on
</Directory>

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<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

  # 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>
Reply With Quote