Did you know LQ has a Linux Hardware Compatibility List?
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 10-22-2007, 04:42 PM   #1
Registered: Dec 2004
Posts: 841

Rep: Reputation: 52
how do i tell of selinux is enabled or not?

I am trying to set up a variety of software packages and several have different instructions depending on the presence/absence of selinux. How can I find out if it's on or not on my CentOS box?
Old 10-22-2007, 06:59 PM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 58
Try the command: sestatus -v

This site has more info on selinux...
Old 10-22-2007, 07:13 PM   #3
Registered: Dec 2004
Posts: 841

Original Poster
Rep: Reputation: 52
AWESOME. Thanks so much.
[root@server2 ~]# sestatus -v
SELinux status:                 disabled


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
"../system.h :selinux/selinux.h:no such file or directory" ashmita04 Linux From Scratch 4 02-05-2009 03:36 AM
SELinux resende Linux - Kernel 0 12-25-2006 04:35 PM
FollowSymLinks and SELinux enabled piforever Linux - Security 9 02-27-2006 10:09 PM
Sendmail won't work with SELinux enabled? jimwillsher Linux - Security 1 03-15-2005 08:16 AM
SELinux winxshadi76 Linux - Newbie 1 12-03-2004 11:04 AM

All times are GMT -5. The time now is 03:07 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