
I will be using pureftp on in this tutorial as its more secure and fast.
1) Download pureftp to the server
goto root
and make folder setup
mkdir setup
cd setup
wget ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.29.tar.gz
2) Untar the file
tar -xvzf pure-ftpd-1.0.29.tar.gz
3) Goto the folder where the files are unzipped via tar.
cd pure-ftpd-1.0.29.tar.gz
4) Compile and install the files to the server.
./configure --with-puredb
make install-strip
You have installed pure-ftp in /usr/local/sbin/pure-ftpd
5) Now start pure-ftp with this command.
/usr/local/sbin/pure-ftpd -j -lpuredb:/etc/pureftpd.pdb &
6)Now starting adding users to pure-ftp by first creating ftp group and then ftp user with its password and directory it can access all this can be done in simple commands as below
groupadd ftpgroup
useradd -g ftpgroup -d /dev/null -s /etc ftpuser (ignore error)
To Add user
pure-pw useradd test1 -u ftpuser -d /home/ftpusers/test1
Remeber to make database file on every command you execute from adding user, password or deleting them
pure-pw mkdb
You can change password of user
pure-pw passwd test1
Delete user with
pure-pw userdel test1
Show details of user
pure-pw show test1
Related posts:




5 Responses
Hi, thank you so much for this how-to. I have one question: how can I set this: “/usr/local/sbin/pure-ftpd -j -lpuredb:/etc/pureftpd.pdb &” to start at every computer restart?
Unable to start a standalone server: Address already in use
hi,
i just install pure ftp 1.0.29 but i got error when i start service .
Unable to start a standalone server: Address already in use
ignore that error like i already mentioned
How can I make it go in root?
It only shows me a blank folder when I log in.