LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-28-2006, 11:38 AM   #1
mrlucio79
Member
 
Registered: Jun 2003
Posts: 55

Rep: Reputation: 15
Question disable selinux


Is there a way to disable selinux? For some reason I more and more errors when running processes. Sometimes it even terminates the process. Is it a good idea to disable selinux? I am using FC5. your input is appreciated!
 
Old 08-28-2006, 12:32 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
To disable immediately run:

setenforce 0

To disable after reboot edit the file /etc/selinux/conf:

SELINUX=disabled

Save it and reboot.

You can also apped the following to your kernel line in grub

selinux=0
 
Old 08-28-2006, 12:41 PM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Quote:
Originally Posted by ramram29
To disable immediately run:

setenforce 0

To disable after reboot edit the file /etc/selinux/conf:

SELINUX=disabled

Save it and reboot.

You can also apped the following to your kernel line in grub

selinux=0
The disable after boot above should be done even if you do the immediate disable so that the next time you boot it doesn't turn selinux back on.
 
Old 08-28-2006, 01:49 PM   #4
mrlucio79
Member
 
Registered: Jun 2003
Posts: 55

Original Poster
Rep: Reputation: 15
Alright, thanks for the quick response!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable selinux? lucktsm Fedora 2 07-11-2006 10:15 AM
disable SELinux for some daemons from runlevel 3 piforever Linux - Security 3 02-13-2006 08:52 PM
disable SELinux for some daemons from runlevel 3 piforever Fedora 1 02-13-2006 08:35 PM
disable selinux on ubuntu linuxmandrake Ubuntu 2 01-11-2006 05:10 AM
what are the services i can disable, also disable ads, banners in konqueror? greythorne SUSE / openSUSE 3 03-16-2005 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration