py_lei 于 2008-12-02 14:58:05发表:
:0)1
py_lei 于 2008-12-02 14:57:50发表:
py_lei 于 2008-12-02 14:57:44发表:
、虚拟帐户 1、vi /etc/vsftpd/vsftpd.conf guest_enable=YES guest_username=user1 pam_service_name=/etc/pam.d/vsftpd.vu anon_world_readable_only=NO 2、VSFTPD.VU内容 文件在/etc/pam.d/下 auth required /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login account required /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login 生成VSFTPD数据库文件 db_load -T -t hash -f /etc/vsftpd/logins.txt /etc/vsftpd/vsftpd_login.db LOGINS.TXT内容 abc 123 xyz 321 2、不同的虚拟帐户配置 user_config_dir=/etc/vsftpd_user_conf 在/etc/vsftpd_user_conf下 建立abc: anon_world_readable_only=NO anon_upload_enable=YES anon_mkdir_write_enable=YES anon_other_write_enable=YES 建立xyz: anon_world_readable_only=YES anon_upload_enable=YES anon_mkdir_write_enable=YES anon_other_write_enable=YES
e22g 于 2008-12-01 14:50:18发表:
暂时使用vsftpd
py_lei 于 2008-12-02 14:58:05发表:
:0)1
py_lei 于 2008-12-02 14:57:50发表:
:0)1
py_lei 于 2008-12-02 14:57:44发表:
、虚拟帐户
1、vi /etc/vsftpd/vsftpd.conf
guest_enable=YES
guest_username=user1
pam_service_name=/etc/pam.d/vsftpd.vu
anon_world_readable_only=NO
2、VSFTPD.VU内容 文件在/etc/pam.d/下
auth required /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
account required /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
生成VSFTPD数据库文件
db_load -T -t hash -f /etc/vsftpd/logins.txt /etc/vsftpd/vsftpd_login.db
LOGINS.TXT内容
abc
123
xyz
321
2、不同的虚拟帐户配置
user_config_dir=/etc/vsftpd_user_conf
在/etc/vsftpd_user_conf下
建立abc:
anon_world_readable_only=NO
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
建立xyz:
anon_world_readable_only=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
e22g 于 2008-12-01 14:50:18发表:
暂时使用vsftpd