首 页文章中心

Linux学习网

您的位置Linux学习网 > Linux服务器应用 > 文章内容

Ubuntu下配置vsftpd的虚拟用户

作者:佚名  来源:不详  发布时间:2008-6-28 8:05:00
#vsftpd.conf的配置文件
#用于虚拟用户的系统用户名是vftp
#生常db文件的db_load版本是4.4,不像传闻中的那样必须用3或者更低版本的

listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
dirmessage_enable=YES
connect_from_port_20=YES
idle_session_timeout=600
data_connection_timeout=120
ftpd_banner=Welcome to xhy's FTP service.
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
guest_enable=YES
guest_username=vftp


#/etc/pam.d/vsftpd文件
#db文件安存储在/etc/vsftpd下 省略扩展名
auth required /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
account required /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
收藏本页到: 365Key | del.icio.us | | 添加到雅虎收藏+
  • 网站帮助 - 广告合作 - 网站地图