vsftpd 500 OOPS: cannot change directory:/home/***
2014-04-28 17:31
423 查看
这是新版 vsftpd加了安全认证引起的
只要在/etc/vsftpd.conf
多加一个设置就可以了
allow_writeable_chroot=YES
------------------------------------
/etc/vsftpd.conf
listen=YES
background=YES
listen_address= 你的IP
max_clients=20
anonymous_enable=NO
local_enable=YES
write_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
one_process_model=NO
chroot_local_user=YES
allow_writeable_chroot=YES
guest_enable=YES
guest_username=vuser
pam_service_name=vsftpd.vu
user_config_dir=/www/host/conf
/www/host/conf/ 下面是用户名文件,一个用户名对应一个文件
比如admin用户
anon_world_readable_only=NO
write_enable=YES
local_root=/www/abc.com/
anon_upload_enable=YES
anon_umask=0000
file_open_mode=0767
local_umask=0744
anon_other_write_enable=YES
anon_mkdir_write_enable=YES
nopriv_user=vuser
/etc/pam.d/vsftpd.vu
64位的设置 注意看下pam_userdb.so 文件在那个目录
auth required /lib/x86_64-linux-gnu/security/pam_userdb.so db=/www/host/vsftpd
account required /lib/x86_64-linux-gnu/security/pam_userdb.so db=/www/host/vsftpd
只要在/etc/vsftpd.conf
多加一个设置就可以了
allow_writeable_chroot=YES
------------------------------------
/etc/vsftpd.conf
listen=YES
background=YES
listen_address= 你的IP
max_clients=20
anonymous_enable=NO
local_enable=YES
write_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
one_process_model=NO
chroot_local_user=YES
allow_writeable_chroot=YES
guest_enable=YES
guest_username=vuser
pam_service_name=vsftpd.vu
user_config_dir=/www/host/conf
/www/host/conf/ 下面是用户名文件,一个用户名对应一个文件
比如admin用户
anon_world_readable_only=NO
write_enable=YES
local_root=/www/abc.com/
anon_upload_enable=YES
anon_umask=0000
file_open_mode=0767
local_umask=0744
anon_other_write_enable=YES
anon_mkdir_write_enable=YES
nopriv_user=vuser
/etc/pam.d/vsftpd.vu
64位的设置 注意看下pam_userdb.so 文件在那个目录
auth required /lib/x86_64-linux-gnu/security/pam_userdb.so db=/www/host/vsftpd
account required /lib/x86_64-linux-gnu/security/pam_userdb.so db=/www/host/vsftpd
相关文章推荐
- vsftpd 启动问题:500 OOPS: cannot change directory:/home/ftp
- 不关闭seLinux解决vsftpd服务本地用户不能登录问题(500 OOPS: cannot change directory:/home/***
- CentOS下安装完vsftpd后报错:500 OOPS: cannot change directory:/home/
- vsftpd 500 OOPS: cannot change directory:/home/oracle
- 不关闭seLinux解决vsftpd服务本地用户不能登录问题(500 OOPS: cannot change directory:/home/***)
- 不关闭seLinux解决vsftpd服务本地用户不能登录问题(500 OOPS: cannot change directory:/home/*** ( 转)
- CentOS vsftpd 500 oops cannot change directory /home/
- 不关闭seLinux解决vsftpd服务本地用户不能登录问题(500 OOPS: cannot change directory:/home/***)
- 不关闭seLinux解决vsftpd服务本地用户不能登录问题(500 OOPS: cannot change directory:/home/***
- vsftpd出现“Response: 500 OOPS: cannot change directory”解决方法(转载)
- vsftp 登录报错:500 OOPS: cannot change directory:/home/*******
- centos yum安装ftp 及解决vsftp错误500 OOPS: cannot change directory:/home/**
- FTP错误 500 OOPS: cannot change directory:/home/xxx
- ftp链接报错500 OOPS: cannot change directory:/home解决方法
- vsftpd 500 OOPS: cannot change directory
- vsftp 500 OOPS: cannot change directory:/home/***
- vsftp 登录报500错误,以及登录成功后无法显示目录列表的解决方案:500 OOPS: cannot change directory:/home/
- vsftpd出现“Response: 500 OOPS: cannot change directory”解决方法
- vsftp 登录报错:500 OOPS: cannot change directory:/home/*******
- vsftpd 500 OOPS: cannot change directory