配置 VSFTPD 时本地用户无法切换 用到命令 setsebool -P ftpd_disable_trans=1 setsebool命令查询了相关的资料 是selinux的相关设置项 这是SELinux的设置命令. 其实 man 一下setsebool也知道了: NAME setsebool – set SELinux boolean value 在不熟悉SELnux前,把SELinux关掉也可以的。有时间研究下SELinux。 Redhat从FC3开始,就使用了SELinux来增强安全,但是使用起来有时候太繁琐,就想关闭它,但是如果安装服务器...
by wushuan10141 - Linux文档专区 - 2009-09-11 10:15:53 阅读(910) 回复(0)
===ftp=== //If you want to share files anonymously chcon -R -t public_content_t /var/ftp //If you want to setup a directory where you can upload files chcon -t public_content_rw_t /var/ftp/incoming You must also turn on the boolean allow_ftpd_anon_write setsebool -P allow_ftpd_anon_write=1 //If you are setting up this machine as a ftpd server and wish to allow users to access their home directoror...
vsftpd 出现 500 OOPS: cannot change directory:/home/vftpsite 网上搜索 说是 [code]setsebool -P ftp_home_dir on 或 setsebool -P ftpd_disable_trans 1 [/code] 但是这个命令 没法运行呢,提示找不到
今天给我校DNS服务器(master win2k)加了slave(rhel 4) named start后老报错 Mar 28 19:08:41 filter named[2843]: dumping master file: tmp-XXXXgm9S33: open: permission denied Mar 28 19:08:41 filter named[2843]: transfer of 'x.x.cn/IN' from x.22.21.x#53: failed while receiving responses: permission denied Mar 28 19:08:41 filter named[2843]: transfer of 'x.x.cn/IN' from x.22.21.x#53: end of transfer Mar 2...