rhel5配置vsftp提示cannot change directory:/home/...
来源:互联网 发布:python 前五分钟 编辑:程序博客网 时间:2024/06/05 16:54
6月份在杭州华数遇到的问题,今天总结一下:
在华数的一台es5(rhel5)下配置了vsftp,在windows下
ftp://ip
并且输入了正确的账号和密码,但是提示无法登录。(反复检查配置文件发现各项都配置正确)无语中......后来在linux客户端登录发现提示如下错误:
cannot change directory://home/....
经检查以为该用户加上了该目录的权限......再次无语ing.......
最后终于查到原因:
是因为SE配置的关闭了ftp的原因。
使用命令
getsebool ftpd_disable_trans
能够查看当前的状态假如不是on
那么是输入命令
setsebool ftpd_disable_trans 1
当然也能够加入-P参数 以便无需每次开机都输入这个命令
setsebool -P ftpd_disable_trans 1
同理 假如smb服务也碰到相同的问题 ,也能够这么做。
setsebool -P samba_enable_home_dirs=1
selinux的问题也能够使用 管理工具中的 selinux management 来调整相关配置。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/76835/showart_1161489.html
在华数的一台es5(rhel5)下配置了vsftp,在windows下
ftp://ip
并且输入了正确的账号和密码,但是提示无法登录。(反复检查配置文件发现各项都配置正确)无语中......后来在linux客户端登录发现提示如下错误:
cannot change directory://home/....
经检查以为该用户加上了该目录的权限......再次无语ing.......
最后终于查到原因:
是因为SE配置的关闭了ftp的原因。
使用命令
getsebool ftpd_disable_trans
能够查看当前的状态假如不是on
那么是输入命令
setsebool ftpd_disable_trans 1
当然也能够加入-P参数 以便无需每次开机都输入这个命令
setsebool -P ftpd_disable_trans 1
同理 假如smb服务也碰到相同的问题 ,也能够这么做。
setsebool -P samba_enable_home_dirs=1
selinux的问题也能够使用 管理工具中的 selinux management 来调整相关配置。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/76835/showart_1161489.html
- rhel5配置vsftp提示cannot change directory:/home/...
- vsftp提示cannot change directory:/home解决方案
- vsftp 500 OOPS: cannot change directory:/home/
- vsftp 500 OOPS: cannot change directory:/home/***
- vsftp 500 OOPS: cannot change directory:/home/
- vsftp 登录报错:500 OOPS: cannot change directory:/home/*******
- vsftp 登录报错:500 OOPS: cannot change directory:/home/*******
- vsftp登录错误 500 OOPS: cannot change directory:/home/xxx
- vsftp 登录报错:500 OOPS: cannot change directory:/home/*******
- vsftp 登录报错:500 OOPS: cannot change directory:/home/*******
- vsftp 登录报错:500 OOPS: cannot change directory:/home/*******
- RHEL5中解决vsftp连接时的"500 OOPS:cannot change directory:/root"错误
- VSFTP成功安装访问被拒绝问题 500 OOPS: cannot change directory:/home/ftp
- 500 OOPS: cannot change directory:/home/user3
- 500 OOPS: cannot change directory:/home/lubinsu
- 500 OOPS: cannot change directory:/home/xxx”
- vsftpd 500 OOPS: cannot change directory:/home/***
- 500 OOPS:cannot change directory:/home/***
- 使用链接库
- SDK 抓屏程序
- 使用图片创建不规则窗体 windows sdk
- malloc和new区别,进程与线程的区别
- C++变长参数函数的用法(转)
- rhel5配置vsftp提示cannot change directory:/home/...
- MFC API小结
- Google Analytics前三天的统计数据
- GridCtrl使用详解(转)
- thon应用领域介绍
- 囧
- 软件工程精品课程--清华大学
- 窗口子类化
- 被拒于alimama门外