We will use pkgget to install the Pureftpd software.
Install pkg-get.
Skip this if you already have it installed.
Reference: http://www.blastwave.org/howto.html
Add the pureftpd package.
This downloads and complies the Pureftpd package.
The binary is located here:
To run try this:
Or better yet use the supplied start up script located here:
Configure Pureftpd
Configuration file the start script looks at:
Rename to pureftpd.conf
# cp ./pureftpd.conf.CSW ./pureftpd.conf
Edit config file. We wanted anonymous ftp access turned off and vistual users activated.
So uncomment
And
NoAnonymous yes
Next we’ll complete the steps needed to enable Virtual Users.
We need to create the pureftpd.pdb file from /opt/csw/etc/pureftpd.passwd.
First create a password file
# touch pureftpd.passwd
Make the pureftpd.pdb file
Or
The start up script expects the files to appear in /etc/
Copy files there:
and
Start Pureftpd
Start the Pureftpd program
For further documentation on using and configuring, take a look at www.pureftpd.org
February 6th, 2008 at 12:13 pm
Hi,
you need also disable the ftp default of solaris:
svcadm disable ftp
and create group and user for virtual users:
groupadd ftpgroup
useradd -g ftpgroup -d /dev/null -s /bin/false ftpuser
Sorry for my english