SELinux: Limit httpd outbound connections by address and port?
We have a multi-host environment with httpd on one host, and an application server on a second. We’d like to use SELinux on the httpd host, and the default targeted policy causes few problems. But it...
View ArticleSElinux: How to change to permissive mode without a reboot?
I need to change selinux to “permissive mode” on a production server without a reboot, but setenforce wont let me do it(as a root), it always prints “setenforce: SELinux is disabled” What i’m doing...
View ArticleFedora 16: “Permission denied: file permissions deny server access”
I’m working with a fresh Fedora 16 install and I’m trying to get Apache up and running. I’m very familiar with Linux and somewhat with CentOS, but I have very little experience with Fedora and SELinux...
View ArticleCGI script fails to open a socket (CentOS 6.2/Apache2)
I have a webserver running CentOS 6.2 and the latest Apache from repositories. Todey I encountered a problem when running an executable program via CGI on Apache. The program is supposed to connect to...
View Articlechange selinux property of a file?
Apache cant process my files due to forbidden error, searching resulted that it might be because of selinux, how can I change selinux policy of a specific file? It’s Centos 6.x Asked by Moori...
View ArticleHow to allow unprivileged apache/PHP to do a root task (CentOS)
I am setting up a sort of personal dropbox for our customers on a CentOS 6.3 machine. The server will be accessible thru SFTP and a proprietary http service base on PHP. This machine will be in our...
View ArticleHow do I install javac (JSDK) on Scientific Linux, 64Bit
I am trying to finds a way to install the Java SDK (javac) on Scientific Linux 64bit with yum or anyway.. Can someone please tell me the best what to do this so I can use maven for my builds etc Asked...
View ArticleJava Setup on Scientific Linux showing two diffent versions
Java Setup on Scientific Linux showing two diffent versions. I am trying to get java setup right on Scientific Linux. If I do a javac -version I get the following: java_1.7.0_10 which is the version...
View ArticleSELinux: how to enable write access to Joomla cache directory?
I have set up SELinux on a Debian squeeze system, which runs a Joomla website. The Joomla PHP code wants to have write access to certain cache directories. The /var/log/messages file contains entries...
View ArticleWhere is the sshd log file on Red Hat Linux stored?
Can someone please tell me where to find the SSHD log on RedHat and SELinux…. I would like to view the log to see who is logging into my account.. Asked by user150591 Login records are usually in...
View Article
More Pages to Explore .....