由 likuku 在 07-19-2004 02:31 发表:
vsftp-1.2.0 虚拟用户成功,但vsftp对用户单独设置视而不见???(已解决!^_^)
原标题:vsftp-1.2.0 虚拟用户,弄好了,但vsftp对用户私人设置视而不见???
花一晚上,把vsftp 弄好了,用pam的虚拟用户,用户完全可以正常工作。
但是"user_config_dir=/etc/vsftp.usr" 指定用户私人设置文件,完全被忽略。
无法理解,办法使尽,权限和路径上没有任何问题,但是私人设置就是不起任何效果。
在vsftpd.conf里直接全局设定才有效果。。。头疼阿。。谁能帮俺一把?
我的 vsftpd.conf :
> quote:
>
> * * *
>
>
>
> # Example config file /etc/vsftpd.conf
>
>
>
> anonymous_enable=NO
>
>
>
> local_enable=YES
>
>
>
> write_enable=NO
>
>
>
> anon_world_readable_only=YES
>
>
>
> local_umask=022
>
>
>
> anon_upload_enable=NO
>
>
>
> anon_mkdir_write_enable=NO
>
>
>
> dirmessage_enable=YES
>
>
>
> xferlog_enable=YES
>
> connect_from_port_20=YES
>
> xferlog_file=/var/log/vsftpd.log
>
> xferlog_std_format=NO
>
>
>
> idle_session_timeout=600
>
> data_connection_timeout=120
>
>
>
> ftpd_banner=Welcome to My FTP service.
>
>
>
> chroot_list_enable=YES
>
> # (default follows)
>
> chroot_list_file=/etc/vsftpd.chroot_list
>
>
>
> pam_service_name=vsftpd
>
> userlist_enable=YES
>
> #enable for standalone mode
>
>
>
> listen_port=21
>
> listen_address=192.168.0.200
>
> listen=YES
>
> tcp_wrappers=YES
>
>
>
> #chroot_local_user=YES
>
> #user_localtime=YES
>
>
>
> port_enable=YES
>
> pasv_enable=YES
>
> pasv_address=xxx.xxx.xxx.xxx
>
> pasv_min_port=60001
>
> pasv_max_port=60050
>
>
>
> guest_enable=YES
>
> guest_username=vsftpdguest
>
>
>
> virtual_use_local_privs=YES
>
> user_config_dir=/etc/vsftdp/vsftpd.usr
>
>
>
> max_clients=1