It was boring to look for it in PROFTPD docs – but I could not found quick FAQ so I had no choice. Anyway I decided to write it for others who need quick tip. Here is just 4 simple steps.
1. Download “ftpasswd” perl script and chmod it to 755:
wget http://www.castaglia.org/proftpd/contrib/ftpasswd chmod 755 ftpasswd
2. Create file with your virtual user and ftp group
mkdir /etc/proftpd ftpasswd --passwd --name=ftp_login --home=/home/ftp/ftp_login --shell=/bin/false --uid=1003 ftpasswd --group --name=ftp_group --gid=50 --member=ftp_login
(it is not important what UID and GID you will use as long as it does not have root privileges :), just use any system uid and group and proftpd will write files with it’s privileges)
3. Add this to your proftpd.conf file:
RequireValidShell off AuthUserFile /etc/proftpd/ftpd.passwd AuthGroupFile /etc/proftpd/ftpd.group
4. Restart PROFTPD
killall -HUP proftpd
That’s all! Any questions? Post it below ;)







My name is

great works – thank’s
You rock! Was so bored with those freaking docs and you had a concise howto. Thank you!
Great:) Thanks for this howto.
.-= nessip´s last blog ..Mam talent =-.
How do I change the permission to write for a virtual user? I just want one ftp-account to access the /var/www directory.
Thanks in advance.