[root@fly ~]# id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel) context=root:system_r:unconfined_t 我在/var/www/html下有个文件名为kaoshi的文件夹,其context为 root:object_r:user_home_t 。问题是httpd不能访问type是user_home_t的目录和文件。我想把它改成httpd_sys_content_t的。可是不知道怎么改。 哪位高手能指点一下?
by attiseve - Linux论坛 - 2007-01-06 13:25:14 阅读(1065) 回复(1)
apachectl start 正常,top也能看到httpd. 页面无法访问. apachectl stop 后出现:httpd (no pid file) not running 查看/var/run/下确实没有httpd.pid 本站及google均没有找到答案 [ 本帖最后由 dingcic 于 2007-4-13 06:52 编辑 ]
apache22 not running? (check /var/run/httpd.pid).
apache启动的时候出现的问题,请问怎样解决?
80端口起不来呢
httpd.conf
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/index.html 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/8793/showart_134694.html
#!/bin/bash # # Startup script for the Apache Web Server # # chkconfig: - 85 15 # description: Apache is a World Wide Web server. It is used to serve \ # HTML files and CGI. # processname: httpd # pidfile: /var/run/httpd.pid # config: /etc/httpd/conf/httpd.conf # Source function library. . /etc/rc.d/init.d/functions if [ -f /etc/sysconfig/httpd ]; then . /etc/sysconfig/httpd fi ...
在新的内核2.6中加入了新的安全模块selinux,由于这个DD导致我在启用vsftp服务的时候,不管怎么配置,死活不能上传,最后只有把selinux停了才好的,请教各位大方之家,有没有关于selinux的资料,借阅借阅
我有个需求,在fedora 4(servername:fs01)上建立了一些帐号(比如user1),这些帐号可以通过ssh远程连接到fs01 .但目前是/home/user1下的文件对于user1是有完全操作权限的,但我希望即使/home/user1的属主为user1,user1也不可以执行与删除/tmp和/home下的可执行程序......selinux应该可以实现,但E文不好,啃那些policy啃的头晕,那位大虾指点下,不胜感激!!!
RANAP-PDU : initiatingMessage : { procedureCode 24, criticality ignore, value ForwardSRNS-context : { protocolIEs { { id 25, criticality ignore, value RAB-contextList : { { { id 24, criticality ignore, value RAB-contextItem : { rAB-ID '00000101'B } } }, { { ...