美文网首页
Debian 安装vsftpd 配置ftp服务

Debian 安装vsftpd 配置ftp服务

作者: KanoWill | 来源:发表于2018-08-04 20:10 被阅读0次

安装vsftpd
apt-get install vsftpd
配置文件位置:/etc/vsftpd.conf
关闭ipv6监听,开启监听,允许本地账号登陆,允许写入,默认新建文件权限掩码022

listen=YES
listen_ipv6=NO
local_enable=YES
write_enable=YES
local_umask=022#默认值

为了允许无法登陆shell的用户进入
在/etc/shells加入特殊shell的名称
在/etc/passwd 查看ftp用户的家目录以及使用的shell
确认ftp目录权限正常
重新启动服务
完成

相关文章

网友评论

      本文标题:Debian 安装vsftpd 配置ftp服务

      本文链接:https://www.haomeiwen.com/subject/drkpvftx.html