LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-18-2020, 07:00 AM   #1
n00b_noob
Member
 
Registered: Sep 2020
Posts: 436

Rep: Reputation: Disabled
Post SELinux is better or AppArmor?


Hello,
By default, SELinux is for Fedora and AppArmor is for Debian. You can install SELinux on Debian, then why they made AppArmor?
SELinux didn't require patching the kernel, but AppArmor need.

Thank you.
 
Old 09-18-2020, 08:17 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by n00b_noob View Post
Hello,
By default, SELinux is for Fedora and AppArmor is for Debian. You can install SELinux on Debian, then why they made AppArmor?
SELinux didn't require patching the kernel, but AppArmor need.

Thank you.
Have you taken the time to look them both up? Note the differences in the creators and maintainers. Perhaps that can indicate to you why there are two different products and why they have different implementations.

https://en.wikipedia.org/wiki/Security-Enhanced_Linux
https://en.wikipedia.org/wiki/AppArmor
 
Old 09-18-2020, 09:50 AM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by n00b_noob View Post
Hello,
By default, SELinux is for Fedora and AppArmor is for Debian. You can install SELinux on Debian, then why they made AppArmor?
Debian didn't make Apparmor. Besides, Apparmor existed before SELinux. Perhaps the creators of SELinux were not satisfied by the Apparmor feature set and created their own solution. Some people think that Apparmor is easier to manage.
Quote:
SELinux didn't require patching the kernel, but AppArmor need.
What do you mean by "patching"? Both Apparmor and SELinux require kernel modules.
 
Old 09-18-2020, 01:20 PM   #4
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,173

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Many times you see people posting about installing some package on Fedora and it does not work, and the 'solution' is usually to disable SELinux, or set to warning only. This makes it useless, since people don't take the time to learn the steps to make it work with apps. Granted that it is a bit complex, so that is a point against it.

AppArmor just seems to work and not get in the way, so point in it's favor.

SELinux was developed by the NSA and they use it. Point for and against.
 
  


Reply



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
AppArmor and Selinux yamadataro Linux - Newbie 5 11-10-2011 07:18 AM
SELinux vs AppArmor sambesange Linux - Security 4 11-07-2008 09:15 AM
LXer: Novell's comparison of AppArmor and SELinux LXer Syndicated Linux News 0 07-03-2007 10:01 PM
LXer: Novell's AppArmor challenges SELinux LXer Syndicated Linux News 0 02-24-2006 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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