ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Ubuntu 下 vsftpd的虚拟用户配置(转)

Ubuntu 下 vsftpd的虚拟用户配置(转)

原创 Linux操作系统 作者:BSDLite 时间:2007-08-16 17:08:25 0 删除 编辑
Ubuntu 下 vsftpd的虚拟用户配置(转)[@more@]#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

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10617542/viewspace-962225/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    1872
  • 访问量
    4072389