Debian Admin - Your way to Debian World

September 20, 2006

Proftpd Server Installation and Configuration

by @ 12:56 pm. Filed under General

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

ProFTPD is a ftp server written for use on Unix and Unix-a-like operating systems, there is no support for native use under Microsoft Windows.

Proftp Features

  • Single main configuration file, with directives and directive groups which are intuitive to any administrator who has ever used the Apache web server.
  • Per directory “.ftpaccess” configuration similar to Apache’s “.htaccess”.
  • Easy to configure multiple virtual FTP servers and anonymous FTP services.
  • Designed to run either as a stand-alone server or from inetd/xinetd, depending on system load.
  • Anonymous FTP root directories do not require any specific directory structure, system binaries or other system files.
  • No SITE EXEC command. In modern Internet environments, such commands are a security nightmare. ProFTPD does not execute any external programs at any time. The source is available (and must always be available) for administrators to audit.
  • Hidden directories and files, based on Unix-style permissions or user/group ownership.
  • Runs as a configurable non-privileged user in stand-alone mode in order to decrease chances of attacks which might exploit its “root” abilities.
  • Logging and utmp/wtmp support. Logging is compatible with the wu-ftpd standard, with extended logging available.
  • Shadow password suite support, including support for expired accounts.
  • Modular design, allowing server to be extended easily with modules. Modules have been written for SQL databases, LDAP servers, SSL/TLS encryption, RADIUS support, etc.
  • IPv6 support.

Install proftp server in debian

#apt-get install proftpd

This will start the installation this time it will ask one question you want to run proftp server from inetd or standalone here select standalone and press enter after this installation will be completed.

Configuring Proftp Server

By default proftp configuration file is located under /etc i.e /etc/proftpd.conf

If you want to check the default proftpd.conf file check here

We are going to change the basic configuration for proftp server this includes security configuration also.

Now you need to edit the /etc/proftpd.conf file using vi or any other editor and you need to change the following Directives or add the following directives for proftp server configuration these are only some of basic directives if you want to know available directives check here

ServerName — Configure the name displayed to connecting users

ServerName “proftp server”

ServerIdent — Set the message displayed on connect

ServerIdent on “Welcome to proftp server”

UseReverseDNS — Toggle rDNS lookups

UseReverseDNS off

IdentLookups — Toggle ident lookups

IdentLookups off

DefaultRoot — Sets default chroot directory

DefaultRoot ~

MaxClients — Limits the number of users that can connect

Maxclients 30

MaxClientsPerHost — Limits the connections per client machine

MaxClientsPerHost 50

After adding these directives you need to restrat your proftpd server to take these changes effect.

#/etc/init.d/proftpd restart

If you want to know about the proftpd server security configuration check here

If you want some examples of proftpd configuration check here

Proftp Client Installation

If you want to use commnd line ftp client in debian you need to install the ftp package using the following command

#apt-get install ftp

By default users can FTP in to their own home directories only

Tags: , , , ,
 

You may also be interested in...

Leave a Reply

Subscribe RSS Feed

subscribe to the Debian Admin RSS feed

Internal links:

Sponsors:



Categories:

Support Debian Admin

Amount $:
Website(Optional):

Sponsors:

Archives:

Related Links:


Favourite Sites:

Wordpress Collection
Windows Reference
Ubuntu Geek
DebianHelp
All About Debian Tutorials
Power Electrical
Check Your IP Here
Debian,Ubuntu News
DebCentral
Tuxmachines
Capnkirby
Libervis
Nuxifield
Linux Horizon
Linux Appfinder
Debuntu
GNU/Linux For Everyone
Free Penguin
DebianAdmin is not related to the Debian Project.
This site is copyright © 2006,2007 Debian Admin
All Trademarks are the property of their respective owners.
The contents of this website may not be mirrored or archived without the express written permission of DebianAdmin Site Owner.

DISCLAIMER: All the information, troubleshooting methods, utilities offered in this website is provided AS-IS, without any warranties. Though I strive for perfection, and always test the validity and effectiveness of the troubleshooting content in various systems, I assume no responsibility for your use of these Fixes, Utilities and other troubleshooting advice. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason. All use is completely at your own risk. Changes to the existing content and new additions are made to this website periodically, without notification.
Rodney's Kontera DynamiContext Plugin plugged in.