Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-09-2011, 02:34 AM   #1
LQ Newbie
Registered: Sep 2004
Posts: 20

Rep: Reputation: 0
Disabling selinux in LXDE

Disabling selinux in LXDE

I was trying to follow a guide on howtoforge. But the guide is for gnrome

Im stuck here
gedit /etc/sysconfig/selinux

Does this exist in Fedora 14
Old 04-09-2011, 03:25 AM   #2
Registered: Sep 2010
Distribution: Slackware
Posts: 320

Rep: Reputation: 65
gedit is a text editor. Replace gedit with leafpad. If that doesn't work, replace it with nano. Carry on with the tutorial.
Old 04-09-2011, 05:06 AM   #3
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Originally Posted by Crippledzero View Post
Disabling selinux in LXDE
Turning off SELinux is not helping Fedora and SELinux progress IMNSHO. Here's some reasons why:

- Fedora
Fedora is a community project. Everyone can help out. Should help out. Reporting changes helps make the product better. Disabling SE Linux does not.

- Security
Like Fedora SELinux is a work in progress too. Disabling SELinux may be helpful now in terms of shallow and instant gratification but it is not a longterm solution. Disabling SELinux is not even necessary when a workaround is possible. While there are other means to secure slash harden a machine, SELinux offers a substantial and "combat-proven" increase. Disabling SELinux lowers the security posture of the whole machine (unless the machine resides in a private LAN AND doesn't provide any services AND you can't stand the less than five percent performance drop).

- image
When SELinux was in its infancy there were R/L reasons to disable it. Unfortunately that reflex still exists and is often advertised without careful thought. Since there is no comparable alternative (except running GRSecurity-enabled kernels or moving to another OS) that's usable, maintained and supported it is OK to run and help can be had for the asking.

So can I ask why you're disabling it? Just being curious if there's something to fix.

* BTW gedit does exist for F14 you just have to have it installed ('yum -y install gedit'). The problem is that you need to edit /etc/sysconfig/selinux as root account user and as such, if allowed, running something like 'sudo vi /etc/sysconfig/selinux' might be easier.


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
Disabling SELinux on httpd put it in initrc_t type rather than unconfined_t n03x3c Linux - Security 1 07-15-2010 10:23 PM
Opensuse 11.2 lxde or PclinuxOs 2009.4 lxde damipereira Linux - Distributions 1 02-16-2010 03:51 AM
SELinux - disabling in CentOS 5.1 prevents LVM from loading and/or booting tiber Linux - Software 2 02-09-2008 05:51 AM
Disabling SElinux Opacus Fedora 1 01-14-2005 09:04 AM > Forums > Linux Forums > Linux - Newbie

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

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