Temporarily disable SElinux [closed]
Clash Royale CLAN TAG#URR8PPP
up vote
-4
down vote
favorite
I want to temporarily disable SELinux on Centos 7. However, setenforce Permissive
has no effect.
# setenforce Permissive
# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 31
centos selinux
closed as unclear what you're asking by sebasth, Rui F Ribeiro, Jeff Schaller, Kiwy, jimmij Sep 12 at 1:51
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |Â
up vote
-4
down vote
favorite
I want to temporarily disable SELinux on Centos 7. However, setenforce Permissive
has no effect.
# setenforce Permissive
# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 31
centos selinux
closed as unclear what you're asking by sebasth, Rui F Ribeiro, Jeff Schaller, Kiwy, jimmij Sep 12 at 1:51
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
6
sestatus
says SELinux is set to permissive, which means SELinux rules are not enforced, only logged.
â sebasth
Sep 11 at 7:31
add a comment |Â
up vote
-4
down vote
favorite
up vote
-4
down vote
favorite
I want to temporarily disable SELinux on Centos 7. However, setenforce Permissive
has no effect.
# setenforce Permissive
# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 31
centos selinux
I want to temporarily disable SELinux on Centos 7. However, setenforce Permissive
has no effect.
# setenforce Permissive
# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 31
centos selinux
centos selinux
asked Sep 11 at 7:27
mahmood
299517
299517
closed as unclear what you're asking by sebasth, Rui F Ribeiro, Jeff Schaller, Kiwy, jimmij Sep 12 at 1:51
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as unclear what you're asking by sebasth, Rui F Ribeiro, Jeff Schaller, Kiwy, jimmij Sep 12 at 1:51
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
6
sestatus
says SELinux is set to permissive, which means SELinux rules are not enforced, only logged.
â sebasth
Sep 11 at 7:31
add a comment |Â
6
sestatus
says SELinux is set to permissive, which means SELinux rules are not enforced, only logged.
â sebasth
Sep 11 at 7:31
6
6
sestatus
says SELinux is set to permissive, which means SELinux rules are not enforced, only logged.â sebasth
Sep 11 at 7:31
sestatus
says SELinux is set to permissive, which means SELinux rules are not enforced, only logged.â sebasth
Sep 11 at 7:31
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
You cannot disable SELinux without rebooting.
You can set it to Permissive mode at runtime via
setenforce Permissive
or
setenforce 0
In this mode, SELinux behaves like it's disabled; thatis, it does not enforce rules, but just logs any violations of them (in the file /var/log/avc.log
, /var/log/audit/audit.log
, or /var/log/audit.log
, depending on which services are running on your machine).
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
You cannot disable SELinux without rebooting.
You can set it to Permissive mode at runtime via
setenforce Permissive
or
setenforce 0
In this mode, SELinux behaves like it's disabled; thatis, it does not enforce rules, but just logs any violations of them (in the file /var/log/avc.log
, /var/log/audit/audit.log
, or /var/log/audit.log
, depending on which services are running on your machine).
add a comment |Â
up vote
3
down vote
accepted
You cannot disable SELinux without rebooting.
You can set it to Permissive mode at runtime via
setenforce Permissive
or
setenforce 0
In this mode, SELinux behaves like it's disabled; thatis, it does not enforce rules, but just logs any violations of them (in the file /var/log/avc.log
, /var/log/audit/audit.log
, or /var/log/audit.log
, depending on which services are running on your machine).
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
You cannot disable SELinux without rebooting.
You can set it to Permissive mode at runtime via
setenforce Permissive
or
setenforce 0
In this mode, SELinux behaves like it's disabled; thatis, it does not enforce rules, but just logs any violations of them (in the file /var/log/avc.log
, /var/log/audit/audit.log
, or /var/log/audit.log
, depending on which services are running on your machine).
You cannot disable SELinux without rebooting.
You can set it to Permissive mode at runtime via
setenforce Permissive
or
setenforce 0
In this mode, SELinux behaves like it's disabled; thatis, it does not enforce rules, but just logs any violations of them (in the file /var/log/avc.log
, /var/log/audit/audit.log
, or /var/log/audit.log
, depending on which services are running on your machine).
answered Sep 11 at 10:01
dr01
15.9k114869
15.9k114869
add a comment |Â
add a comment |Â
6
sestatus
says SELinux is set to permissive, which means SELinux rules are not enforced, only logged.â sebasth
Sep 11 at 7:31