VSFTP用户权限配置
vsftpd.conf文件:
? connect_from_port_20=YES? anonymous_enable=NO? write_enable=YES? local_umask=002? listen_port=21? listen=YES? pasv_enable=YES? use_localtime=YES? connect_timeout=60? accept_timeout=60? data_connection_timeout=600? local_enable=YES? cmds_allowed=ABOR,CMD,LIST,MDTM,MKD,NLST,PASS,PASV,PORT,PWD,QUIT,SIZE,STOR,TYPE,USER? chroot_list_enable=YES? chroot_list_file=/etc/vsftpd/vsftpd.chroot.list? pam_service_name=vsftpd? xferlog_enable=YES? xferlog_file=/var/log/vsftpd.log以下是这段相关命令的说明:? (要注意的是,这行里面不能换行,不能有空格)? # ABOR - abort a file transfer 取消文件传输? # CWD - change working directory 更改目录? # DELE - delete a remote file 删除文件? # LIST - list remote files 列目录? # MDTM - return the modification time of a file 返回文件的更新时间? # MKD - make a remote directory 新建文件夹? # NLST - name list of remote directory? # PASS - send password? # PASV - enter passive mode? # PORT - open a data port 打开一个传输端口? # PWD - print working directory 显示当前工作目录? # QUIT - terminate the connection 退出? # RETR - retrieve a remote file 下载文件? # RMD - remove a remote directory? # RNFR - rename from? # RNTO - rename to? # SITE - site-specific commands? # SIZE - return the size of a file 返回文件大小? # STOR - store a file on the remote host 上传文件? # TYPE - set transfer type? # USER - send username