Charm: vsftpd
Summary
lightweight, efficient FTP server written for security
Charm Store
juju deploy cs:precise/vsftpd-0
Maintainer
Nathan Williams
Series
precise
Description
This package provides the "Very Secure FTP Daemon", written from the ground up with security in mind. It supports both anonymous and non- anonymous FTP access, PAM authentication, bandwidth limiting, and the Linux sendfile() facility.
Links
Repository   Bugs
lp:~charmers/charms/precise/vsftpd/trunk
Interfaces
Provides
  • ftp-server
    ftp
Config
ftp_user string
ftp_passwd string
delete_departed boolean
ftp_throttle int
allow_anon boolean
port int
Details
Readme
Juju charm vsftpd
author: Nathan Williams <nathan@nathanewilliams.com>

1. Setup your parameters in vsftpd.yaml
> vi vsftpd.yaml
 a list of settable parameters is available usering
> juju get vsftpd
or listing config.yaml

2. Deploying vsftpd
> juju bootstrap
> juju deploy --config vsftpd.yaml vsftpd
> juju expose vsftpd

3. To find out the public address of vsftpd, browse 
   the output of the 'juju status' command.

By default, the standard ftp port, 21, is turned on,
this is changeable through the config value: "port".

When a relation is joined, a user for each juju unit
is created and has relation parameters generated for 
ftp_user, and ftp_passwd. The active port and server
are also available in the relation details.

The "delete_departed" config option controls whether
to remove files belonging to users who have left the 
relation to the ftp-server.

If you decide to enable anonymous access, be aware
that the anonymous user, while not able to upload,
will be able to browse and download files in any 
users home directory.

Note that due to vsftpd security settings, it is not
possible for users to upload files to their chroot'd
home directory. Rather, each user has a folder "ftp"
created within their chroot'd home folder which they
can up/download to.

For additional configuration options, see:
https://help.ubuntu.com/12.04/serverguide/ftp-server.html#vsftpd-ftp-server-installation
Changes  
2012/05/21 Nathan Williams add maintainer (revno 13)
2012/05/11 Nathan Williams resetting revision (revno 12)
2012/05/11 Nathan Williams pushing recommended changes (revno 11)
2012/05/04 Nathan Williams commenting for clarity (revno 10)
2012/05/04 Nathan Williams specify tcp in open-port, kill stubborn daemon with fire (revno 9)
2012/05/03 Nathan Williams add anonymous_enable to config-changed (revno 8)
2012/05/03 Nathan Williams allow anonymous access, off by default (revno 7)
2012/05/03 Nathan Williams enhanced details of the readme (revno 6)
2012/05/03 Nathan Williams updated relation hooks (revno 5)
In other archives
~nathwill:precise/vsftpd