Revision 10 as of 2006-03-31 12:25:29

Clear message

Pure-ftpd + pureadmin (Ftp server with gui)

These are all steps to follow in order to have a nice ftp server with an easy gui.

  • Install Pure-FTP if you don't already have it. Grab it with Synaptic.
  • install attached pureadmin deb file
  • run 'sudo gedit /etc/inetd.conf' and comment (add a # at the start of) the line containing 'ftp'

  • run 'sudo gedit /etc/default/pure-ftpd-common' and change STANDALONE_OR_INETD=inetd to STANDALONE_OR_INETD=standalone
  • run 'sudo groupadd ftpgroup' and 'sudo useradd -g ftpgroup -d /dev/null -s /etc ftpuser'
  • create ftpuser directory 'sudo mkdir /home/ftpusers'
  • create joe user directory 'sudo mkdir /home/ftpusers/joe' (you can create a directory for each ftp user)
  • run 'sudo pure-pw useradd joe -u ftpuser -d /home/ftpusers/joe' (a)
  • run 'sudo pure-pw mkdb'
  • run 'sudo ln -s /etc/pure-ftpd/pureftpd.passwd /etc/pureftpd.passwd'
  • run 'sudo ln -s /etc/pure-ftpd/pureftpd.pdb /etc/pureftpd.pdb'
  • run 'sudo ln -s /etc/pure-ftpd/conf/PureDB /etc/pure-ftpd/auth/PureDB'
  • Create file /etc/pure-ftpd/conf/UnixAuthentication containing only the string 'no' without quotes.
  • Modify permissions of /home/ftpusers directory (b) and of any subdirectories. Owner must be ftpuser while Group must be ftpgroup
  • run 'sudo pureadmin'
  • stop firestarter if installed
  • through "menu editor" modify pureadmin entry command (under 'system tools') from 'pureadmin' to 'gksudo pureadmin'

NOTES

  1. joe will be your test user. You can change user joe and/or add other users through pureadmin b. Easy way to change permissions: run 'sudo nautilus', go to /home, change owner with ftpuser and group with ftpgroup. Tick special flags 'set user ID' and 'set group ID'. [not sure if these ticks are necessary]

Be aware that pureadmin must be run as root.

Download package from here: http://www.ubuntuforums.org/attachment.php?attachmentid=3623&d=1132160866

Original Ubuntu Forums thread: http://ubuntuforums.org/showthread.php?t=91052

CategoryDocumentation CategoryCleanup