Skip to content

Sample vsftpd user config file

acozine edited this page Jun 25, 2013 · 1 revision
# Example config file for an authorized user of the ftp service for hydraDAM
#
# commands allowed for this authorized user
cmds_allowed=get,ls,put,cd,mkdir,rm,rmdir,PUT,PWD,CWD,SYST,FEAT,STOR,LIST,MKD,DELE,RMD,GET,EPSV,PASV,RETR,TYPE,NOOP,EXIT,QUIT

This file should be saved in the /etc/vsftpd_user_conf directory. The file should be named the same as the unix username you created - in our example, ftpuser1. The lowercase commands are shell commands; the ALLCAPS commands are ftp commands. This sample config file allows this user to create directories/upload directory trees (mkdir, MKD) and to remove them (rm, rmdir, DELE, RMD). You may wish to restrict certain users' ability to remove files and directories.

Clone this wiki locally