LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-20-2014, 06:29 AM   #1
redhatwannabe
Member
 
Registered: Dec 2008
Posts: 83

Rep: Reputation: 15
how do you know if selinux is enabled in SLES 11


hi,

from https://www.suse.com/documentation/s...eneral.selinux

Quote:

As part of the “basic enablement”, SELinux will not be officially supported, but packages have now been added to SUSE Linux Enterprise Server 11 to enable its usage with minimal effort. While AppArmor is much easier to use and has a similar feature set, knowing both will most certainly be beneficial.
and from http://www.cyberciti.biz/faq/howto-turn-off-selinux/

Quote:

For all other Linux distros edit your boot loader config file (LILO or GRUB boot loader config file such as /boot/grub/grub.conf). Find the kernel line, append enforcing=0 at the end:
what if I don't have /boot/grub/grub/conf files

Code:
kumar:~ # ls -l /boot/grub/
total 204
-rw-r--r-- 1 root root   8608 May 11  2013 e2fs_stage1_5
-rw-r--r-- 1 root root   7872 May 11  2013 fat_stage1_5
-rw-r--r-- 1 root root   7136 May 11  2013 ffs_stage1_5
-rw-r--r-- 1 root root   7136 May 11  2013 iso9660_stage1_5
-rw-r--r-- 1 root root   8576 May 11  2013 jfs_stage1_5
-rw-r--r-- 1 root root   7296 May 11  2013 minix_stage1_5
-rw-r--r-- 1 root root   9632 May 11  2013 reiserfs_stage1_5
-rw-r--r-- 1 root root    512 May 11  2013 stage1
-rw-r--r-- 1 root root 102250 Feb 28 16:49 stage2
-rw-r--r-- 1 root root   7456 May 11  2013 ufs2_stage1_5
-rw-r--r-- 1 root root   6688 May 11  2013 vstafs_stage1_5
-rw-r--r-- 1 root root   9320 May 11  2013 xfs_stage1_5
is it still enabled?

thanks!

Last edited by redhatwannabe; 03-20-2014 at 06:46 AM.
 
Old 03-20-2014, 05:06 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
How about
Code:
selinuxenabled && echo yes || echo no
 
Old 03-20-2014, 05:12 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
for starters
you had to install the software needed for it
you had to start building your own custom kernels , to use it
you had to create your own rules from audit2alow

you "can" get it up and running BUT ....

if none of the above were done then SE can not be running

i had SE running on OpenSUSE 11.3
it was so much trouble i did not install it on 12


NOW on Fedora ,RHEL it runs SMOOTHLY
very well and with no large amount of effort

Last edited by John VV; 03-20-2014 at 05:14 PM.
 
  


Reply

Tags
suse



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
root password in RHEL 5.4 with SELinux enabled? IonutIonescu Linux - Security 4 05-10-2012 08:41 PM
[SOLVED] qmail on RHEL 6 [selinux enabled] fritz001 Linux - Server 10 02-09-2012 10:03 AM
Is anyone running grsecurity with SELinux enabled? abefroman Linux - Security 1 04-17-2008 06:52 AM
how do i tell of selinux is enabled or not? sneakyimp Linux - Newbie 2 10-22-2007 07:13 PM
FollowSymLinks and SELinux enabled piforever Linux - Security 9 02-27-2006 10:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:45 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
Open Source Consulting | Domain Registration