How to install and configure the pure-ftp daemon on Gentoo
October 4th, 2010
No comments
On a bash shell, as root user run the following command:
# emerge -va net-ftp/pure-ftpd
.......
.......
.......
.......
.......
.......
.......
>>> /etc/conf.d/pure-ftpd--- /etc/init.d/>>> /etc/init.d/pure-ftpd * * Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file! * * It's *really* important to read the README provided with Pure-FTPd! * Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info * and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info. *>>> net-ftp/pure-ftpd-1.0.21-r1 merged.>>> Recording net-ftp/pure-ftpd in "world" favorites file...
>>> No packages selected for removal by clean>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* Messages for package net-ftp/pure-ftpd-1.0.21-r1:
* * Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file! * * It's *really* important to read the README provided with Pure-FTPd! * Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info * and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info. * * GNU info directory index is up-to-date.As shown at the end of the output of the emerge command, don't forget to read the README provided with Pure-FTPd.
Now you need to configure the Pure-FTPd daemon, edit the /etc/conf.d/pure-ftpd file with your favourite editor.
Make sure that the line
IS_CONFIGURED="yes" is uncommented (remove the "#" if necessary)Make sure the server is configured as follows:
SERVER="-S 21"save the /etc/conf.d/pure-ftpd file
Prepare the users:
# groupadd ftpgroup# useradd -g ftpgroup -d /dev/null -s /etc ftpuser# pure-pw useradd pippo -u ftpuser -d /home/ftpusers/pippostartup the server
# /etc/init.d/pure-ftpd startand add it at boot time
# rc-update add pure-ftpd defaultThat's all
gg1
Latest Comments