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 attached pureadmin deb file
- Comment the line in /etc/inetd.conf containing 'ftp'
- Open /etc/default/pure-ftpd-common and change STANDALONE_OR_INETD=inetd to STANDALONE_OR_INETD=standalone
- run 'groupadd ftpgroup' and '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.(c)
- 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
- a joe will be your test user. You can change user joe and/or add other users through pureadmin
- a 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 this ticks are necessary]
a run 'sudo echo no > cat >/etc/pure-ftpd/conf/UnixAuthentication'
Be aware that pureadmin must be run as root.
Download package from here: http://www.ubuntuforums.org/attachment.php?attachmentid=3623&d=1132160866