User Tools

Site Tools


howtos:pure-ftpd-pureadmin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howtos:pure-ftpd-pureadmin [d/m/Y H:i]
domingo
howtos:pure-ftpd-pureadmin [d/m/Y H:i] (current)
Line 1: Line 1:
 +===== Getting Pure-ftpd and PureAdmin Working =====
  
 +This guide is made for Ubuntu Hardy Heron but it should also work as a generic guide.
 +
 +As I want to use the ftp server on my desktop I only need a simple configuration (quick'n'dirty), thus only authenticate users with PureDB.
 +
 +Install pure-ftpd.
 +
 +<code>
 +sudo apt-get install pure-ftpd pure-ftpd-common libgamin-dev
 +</code>
 +
 +Start out by lowering the UID limit value:
 +
 +<code>
 +cd /etc/pure-ftpd/conf
 +sudo vi MinUID             -> change to 100, otherwise you get "account is disabled" for all users in the syslog as ftpuser has a uid below 1000.
 +</code>
 +
 +Lets disable all authentication methods but PureDB:
 +
 +<code>
 +sudo vi PAMAuthentication  -> change it to "no"
 +sudo vi UnixAuthentication -> change it to "no"
 +</code>
 +
 +Now enable PureDB authentication:
 +
 +<code>
 +cd /etc/pure-ftpd/auth
 +sudo ln -s ../conf/PureDB ./30puredb     -> activation of the PureDB authentication
 +</code>
 +
 +Now download PureAdmin: http://purify.sourceforge.net/index.php?page=download
 +
 +Unpack the tar-ball and compile it:
 +<code>
 +./configure
 +make
 +sudo make install
 +</code>
 +
 +The first time you start PureAdmin it will look for dependent settings. Just say okay to the suggestions. 
 +
 +That should do it!