- 9
- 0
- 约8.77千字
- 约 15页
- 2017-01-03 发布于贵州
- 举报
配置VSFTPD时本地用户无法切换用到命令setsebool -P ftpd_disable_trans=1setsebool命令查询了相关的资料是selinux的相关设置项这是SELinux的设置命令.其实 man 一下setsebool也知道了:NAMEsetsebool– set SELinuxboolean value在不熟悉SELnux前,把SELinux关掉也可以的。有时间研究下SELinux。Redhat从FC3开始,就使用了SELinux来增强安全,但是使用起来有时候太繁琐,就想关闭它,但是如果安装服务器的时候开始没有图形界面,还真很难找到地方可以关闭。正确方法如下:修改/etc/selinux/config文件中的SELINUX=” 为 disabled ,然后重启。2009年8。22更新下面是一些收集来的设置命令===ftp===//If you want to share files anonymouslychcon -R -t public_content_t /var/ftp//If you want to setup a directory where you can upload fileschcon -t public_content_rw_t /var/ftp/incomingYou must also turn on the booleanall
原创力文档

文档评论(0)