Install pureftp with unixauthentification on ubuntu

I used to use winscp to upload file to vps server. It’s easy and I just need to keep dedicated user.

Due to request for ftp support I decide to install ftp server called pure-ftp on ubuntu jaunty.

Install pure-ftp

# apt-get install pure-ftpd

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
libcap1 pure-ftpd-common
Suggested packages:
netkit-inetd openbsd-inetd xinetd
The following NEW packages will be installed:
libcap1 pure-ftpd pure-ftpd-common
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 355kB of archives.
After this operation, 1040kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com jaunty/main libcap1 1:1.10-14build1 [9780B]
Get:2 http://archive.ubuntu.com jaunty/universe pure-ftpd-common 1.0.21-11.4ubuntu1 [176kB]
Get:3 http://archive.ubuntu.com jaunty/universe pure-ftpd 1.0.21-11.4ubuntu1 [169kB]
Fetched 355kB in 1s (278kB/s)
Preconfiguring packages …
Selecting previously deselected package libcap1.
(Reading database … 20798 files and directories currently installed.)
Unpacking libcap1 (from …/libcap1_1%3a1.10-14build1_amd64.deb) …
Selecting previously deselected package pure-ftpd-common.
Unpacking pure-ftpd-common (from …/pure-ftpd-common_1.0.21-11.4ubuntu1_all.deb) …
Selecting previously deselected package pure-ftpd.
Unpacking pure-ftpd (from …/pure-ftpd_1.0.21-11.4ubuntu1_amd64.deb) …
Setting up libcap1 (1:1.10-14build1) …

Setting up pure-ftpd-common (1.0.21-11.4ubuntu1) …

Setting up pure-ftpd (1.0.21-11.4ubuntu1) …
Starting ftp server: Running: /usr/sbin/pure-ftpd -l pam -E -O clf:/var/log/pure-ftpd/transfer.log -u 1000 -B

Processing triggers for libc6 …
ldconfig deferred processing now taking place
You have new mail in /var/mail/root
#

Enable unixauthentification

# nano /etc/pure-ftpd/conf/UnixAuthentication

change  from no to yes and save the file.

Run the service

# /etc/init.d/pure-ftpd start

Starting ftp server: Running: /usr/sbin/pure-ftpd -l unix -l pam -E -O clf:/var/log/pure-ftpd/transfer.log -u 1000 -B
#

Great, I can delegate website update process icon smile Install pureftp with unixauthentification on ubuntu