Rud5G / chef-vsftpd

Chef Cookbook: vsFTPd (use at own risk, not production ready)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VSFTPD

DESCRIPTION

Very Basic installation and configuration of vsftpd with virtual users to support Secure (SSL) SFTP.

REQUIREMENTS

Only tested on Ubuntu 14.04 and the vsftpd that comes from the standard apt sources at the time this cookbook was created. No attempt has been made to support other target platforms or versions of vsftpd.

Usage

create the password file with:

$ echo "$ftpusername" >> /etc/vsftpd/logins.txt

$ echo "$ftppassword" |mkpasswd -s -m sha-512 >> /etc/vsftpd/logins.txt

$ db_load -T -t hash -f /etc/vsftpd/logins.txt /etc/vsftpd/login.db

$ mkdir /home/ftpsite/users/$ftpusername

$ service vsftpd restart

About

Chef Cookbook: vsFTPd (use at own risk, not production ready)


Languages

Language:Ruby 90.2%Language:HTML 9.8%