Disable SELinux on Fedora 15 Lovelock

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.67 out of 5)
Loading...

You can disable SELinux (which is more of an annoyance for several user) by editing the config file in /etc/selinux while being root

su
vi /etc/selinux/config

In vi to edit a file you first need to hit the “i” key. Now change the text SELINUX=enforcing to SELINUX=disabled like a regular text editor and save the file, to save the file in vi, first hit “Esc” and then type :wq at the command prompt (mind the : before wq, pressing Esc followed by : takes you to the command prompt) and press enter to return to terminal window. Now, restart the X-server by pressing Ctrl+Alt+Backspace or reboot and SELinux should be disabled.

 

You might also like

Disable SELinux on Fedora 13 Goddard You can disable...
Disable SELinux on Fedora 16 Verne You can disable...
Disable SELinux on Fedora 14 Laughlin You can disable...
Enable Gnome-shell 3D Desktop Effects in Virtualized Fedora 16 Due to a bug...

About the Author

has written 346 posts on this blog.

Meditating towards his "nerdvana", lifehacker is a teacher by the day and a nerdy blogger by the night. He lives to learn and yearns to learn living.

3 Comments on “Disable SELinux on Fedora 15 Lovelock”

  • Jonathan wrote on 2 June, 2011, 12:09

    Thank you so much for posting this! I’ve been looking everywhere on how to do it, found out about the config file, but nothing but terminal commands to access the visual editor was going to allow me to change the setting.  I’m new to Linux so I needed someone to hold my hand through the process.

    Like or Dislike: Thumb up 0 Thumb down 0

    [Reply]

  • Bill wrote on 30 June, 2011, 2:18

    I am also new to Linux. Had difficulties saving the file (spent hours trying) until I read a different post which said you don’t just type “wq” but “:wq” to save.

    Like or Dislike: Thumb up 0 Thumb down 0

    [Reply]

    lifehacker Reply:

    @Bill, That was a typo, thanks for pointing it out. Sorry, for the trouble you had because of it. I can understand your situation, I had to go through similar experiences during my early *nix days.

    Like or Dislike: Thumb up 0 Thumb down 0

    [Reply]

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

*

Copyright © 2018 Hack Your Life!. All rights reserved.
Proudly powered by WordPress. Developed by Deluxe Themes