LinuxQuestions.org
Register a domain and help support LQ
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, 12:38 PM   #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, 01: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, 01:41 PM   #3
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
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, 02:49 PM   #4
mrlucio79
Member
 
Registered: Jun 2003
Posts: 55

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:15 AM
disable SELinux for some daemons from runlevel 3 piforever Linux - Security 3 02-13-2006 09:52 PM
disable SELinux for some daemons from runlevel 3 piforever Fedora 1 02-13-2006 09:35 PM
disable selinux on ubuntu linuxmandrake Ubuntu 2 01-11-2006 06:10 AM
what are the services i can disable, also disable ads, banners in konqueror? greythorne Suse/Novell 3 03-16-2005 09:30 AM


All times are GMT -5. The time now is 10:31 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration