RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

How to Disable SElinux

Article Index
1. Permanently disable SElinux

Question:

Hi Lubos, is there a way to disable SElinux on my linux system?

Answer:

SElinux ( Security Enhanced Linux )may cause some problems during various software installations. Here are some quick tips on how to disable SElinux temporarily or permanently. I do not recommend to disable SElinux completely!  However, disabling SElinux just temporarily may help in troubleshooting to narrow down all possible problems and to see whether the problems your are experiencing are related to SElinux.

Temporarily disable SElinux

It is easy to disable SElinux from command line by setenforce command:

# setenforce 0

This will disable SElinux temorarlily until your system will reboot or you enable SElinux with:

# setenforce 1

The commands above are same as disabling SElinux with:

# echo 0 > /selinux/enforce

1. Permanently disable SElinux

To permanently disable SElinux you need to edit SElinux's config file /etc/selinux/config and add/alter line disable it:

SELINUX=disabled

 Linux questions and answers

Share this linux post:

Submit How to Disable SElinux in Delicious Submit How to Disable SElinux in Digg Submit How to Disable SElinux in FaceBook Submit How to Disable SElinux in Google Bookmarks Submit How to Disable SElinux in Stumbleupon Submit How to Disable SElinux in Technorati Submit How to Disable SElinux in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download