S
S
Schoolboy.2015-08-21 10:17:46
linux
Schoolboy., 2015-08-21 10:17:46

Is it possible to disable Selinux?

Selinux denied access to files on the web server, when I turned it off everything worked. Is it dangerous to disable Selinux?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivan, 2015-08-21
@kalashnikofff

It is better not to disable Selinux, but to configure user access rights to folders and files. You can do this with the following commands chmod, chown.

K
Kir ---, 2015-08-21
@SowingSadness

If you are too lazy to understand the commands for assigning selinux rights, then you can.

A
Azazel PW, 2015-08-21
@azazelpw

You can turn off the main thing correctly configure access to the server,
For the web server.
Close all but 80,443 ports in iptables.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question