me looking so small in this world

20 2006f October, 2006

checking if selinux is installed and enabled

Filed under: linux — rudyegenias @ 2:43 pm

have you been wondering if your installation has selinux installed and is interferring with your coding? here’s a way to check (anyway my distro is centos4)

to know if selinux is installed

rpm -qa | grep selinux

to know if it is enabled

/usr/sbin/getenforce

1 Comment »

  1. HI,
    i am new user in fedora. i am learning a fedora linux. when i put rpm -qa|grep selinux this command then no output is showing. it does mean selinux is enable? if not then how can i understand our se linux is enable?

    Maruf

    Comment by maruf — 13 2009f June, 2009 @ 6:07 pm | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.