linux 遇到(vsftpd)—500 OOPS:chroot

今天在用vsftpd 时出现一个问题:
500 OOPS:chroot

解决办法:

1、关闭SELINUX
[root@localhost ~]#vi /etc/sysconfig/selinux

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing – SELinux security policy is enforced.
#       permissive – SELinux prints warnings instead of enforcing.
#       disabled – No SELinux policy is loaded.
#SELINUX=enforcing 
SELINUX=distable   

#SELINUX=enforcing 修改成SELINUX=distable
# SELINUXTYPE= can take one of these two values:
#       targeted – Targeted processes are protected,
#       mls – Multi Level Security protection.
SELINUXTYPE=targeted

2.重开机

posted @ 2018-06-09 16:22  周永发  阅读(555)  评论(0编辑  收藏  举报