vsftpd 500 OOPS: cannot change directory
来源:互联网 发布:java错误代码1618 编辑:程序博客网 时间:2024/05/01 11:38
vsftpd 500 OOPS: cannot change directory
今天在默认配置下,启动vsftpd,一般用户登陆居然报错:
C:/>ftp 192.168.0.101
Connected to 192.168.0.101.
220 (vsFTPd 2.0.5)
User (192.168.0.101:(none)): frank
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/frank
Login failed.
ftp> ls
500 OOPS: child died
Connection closed by remote host.
觉得这个问题很奇怪,google.cn了一下,有人的解决方法是:
在终端输入命令:
setsebool ftpd_disable_trans 1
service vsftpd restart
就OK了!
今天在默认配置下,启动vsftpd,一般用户登陆居然报错:
C:/>ftp 192.168.0.101
Connected to 192.168.0.101.
220 (vsFTPd 2.0.5)
User (192.168.0.101:(none)): frank
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/frank
Login failed.
ftp> ls
500 OOPS: child died
Connection closed by remote host.
觉得这个问题很奇怪,google.cn了一下,有人的解决方法是:
在终端输入命令:
setsebool ftpd_disable_trans 1
service vsftpd restart
就OK了!
如果 报setsebool not found,则用su - 将系统变量加载进来
setsebool这是SELinux的设置命令.
其实 man 一下setsebool也知道了:
NAME
setsebool - set SELinux boolean value
在不熟悉SELnux前,把SELinux关掉也可以的。有时间研究下SELinux。
在想用SELinux但是又不熟悉的情况下可以把SELinux设置成Permissive,表示SELinux规则启动,但只是把违规的记录到log中。
setsebool这是SELinux的设置命令.
其实 man 一下setsebool也知道了:
NAME
setsebool - set SELinux boolean value
在不熟悉SELnux前,把SELinux关掉也可以的。有时间研究下SELinux。
在想用SELinux但是又不熟悉的情况下可以把SELinux设置成Permissive,表示SELinux规则启动,但只是把违规的记录到log中。
所以在安装Linux操作系统时,一定要细心, 可将SELinux 安全级别降低,以免在平时使用时有些服务不能使用。
- vsftpd 500 OOPS: cannot change directory
- vsftpd 500 OOPS: cannot change directory
- vsftpd 500 OOPS: cannot change directory
- vsftpd报"500 OOPS: cannot change directory"
- vsftpd 500 OOPS: cannot change directory:/home/***
- centos vsftpd 500 OOPS: cannot change directory
- vsftpd 500 OOPS: cannot change directory:/home/oracle
- vsftpd错误调试之500 OOPS: cannot change directory
- [转]vsftpd出现500 OOPS: cannot change directory的解决办法
- vsftpd 启动问题:500 OOPS: cannot change directory:/home/ftp
- CentOS vsftpd 500 oops cannot change directory /home/
- vsftpd出现“Response: 500 OOPS: cannot change directory”解决方法
- 配置 vsftpd 出现:500 OOPS:cannot change directory
- vsftpd出现“Response: 500 OOPS: cannot change directory”解决方法
- 500 OOPS: cannot change directory
- 500 OOPS: cannot change directory:
- CentOS下安装完vsftpd后报错:500 OOPS: cannot change directory:/home/
- FTP出现500 OOPS: cannot change directory
- 读研?还是工作?
- 开源网络框架HPServer0.2.10版发布
- 经典MYSQL语句
- PB5.0下修改OS源代码的编译选项介绍
- 用对齐原则求结构体长度
- vsftpd 500 OOPS: cannot change directory
- “A Part-aware Surface Metric for Shape Analysis” Reading Note
- 单点登录SSO(single sign-on)
- C语言中函数strcpy ,strncpy ,strlcpy的用法
- MyEclipse快捷键大全
- hibernate常见问题
- C语言的inline
- asp.net“服务器应用程序不可用” 解决方法
- Ubuntu9.10下安装source navigator