Solved

SE Linux management > Is it best set to Enforcing mode . Disabled? (fedora 14)  - Linux n00b

Posted on 2011-03-22
3
420 Views
Last Modified: 2012-05-11

Mate set it like this on a test box.

Should I revert to Permissive or enforcing?

HAving no joy setting up SWAT and Im wondering if this is the spanner in the setup works.

0
Comment
Question by:fcek
3 Comments
 
LVL 31

Accepted Solution

by:
farzanj earned 167 total points
ID: 35195022
Enforcing is good but you have to know what you are doing.  If you are using GUI and SELinux tools, it gives you tips what to do.

Set it to permissive and make sure everything is running that way it is running.  Make sure to check the logs and SELinux messages in Permissive mode that informs about issues.  Once all the issues are resolved, set it to enforcing.

Most people in the Linux world don't know how to use SELinux and therefore hate it.  It is a very good tool provided that you know how to use it and you can reap the full range of security benefits if you can write your own policies!

If you don't care about this extra layer of security and want to avoid hassle, you may simply disable it.
0
 
LVL 29

Assisted Solution

by:fosiul01
fosiul01 earned 167 total points
ID: 35195029
You should use Permissive or disabled...

best is just disabled it.

you will have to be really really good in linux to use selinux with every services....

I hardly see people use selinux  , and most of the time you will see linux base software is saying, turn off the selinux ..

example. if you go for Virtual server, selinux will be off straight way..

so dont worry about selinux.. just disable it for time being.

0
 
LVL 77

Assisted Solution

by:arnold
arnold earned 166 total points
ID: 35195090
SELinux is a tool that helps secure one's system from different type of attacks. And in an event when an attack gets on the server, selinux in some cases will make it harder for the attacker to further damage/compromise the system.

0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

805 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question