I have a user who like to use the our Bitnami AWS ec2 instance to store podcasts. Up to this point they have been using http://www.lemonzdream.com/podcastmaker/ with MobileMe. Now that MM is dead, they just need some dedicated space to serve files from.
They aren't very tech savvy and setting up SFTP for them isn't ideal. I would like to give them a separate FTP account that will restrict access to a single web directory that they can upload to. The cloud image currently has a FTP server running but listening only in 127.0.0.1. The bitnami admin account is the only user.
Thoughts on how to do this?
Best Answer
Install vsftpd
First, be sure to open ports 35000:36000 on the firewall to permit PASV FTP.
Then for your
/etc/vsftpd.conf
Then to create a user, run,
Then create the accompanying file in
/etc/vsftpd_user_conf/myusername
The user connects as the
guest_username
stated, so it allows you to have multiple FTP users with different access, but all the while, preserving important file-level owner permissions.That will give you a nice simple, chrooted, secure, isolated and manageable FTP configuration.
You're welcome.