禁用selinux |
您所在的位置:网站首页 › 自动变速箱爬坡异响怎么解决 › 禁用selinux |
![]() 禁用selinux I have a fedora desktop. I want to run some services but I get an error about SELinux. How can I disable SELinux? Selinux is a security mechanism used generally Linux systems. It has support from Linux kernel. Selinux creates the context for specified services, applications, and users. Prevent these to access an unrelated or unsecured part of the Linux systems. In this tutorial, we will look at how to disable and enable SELinux temporarily or persistently. 我有一个fedora桌面。 我想运行一些服务,但出现关于SELinux的错误。 如何禁用SELinux? Selinux是通常用于Linux系统的安全机制。 它具有Linux内核的支持。 Selinux为指定的服务,应用程序和用户创建上下文。 防止它们访问Linux系统中不相关或不安全的部分。 在本教程中,我们将研究如何临时或持久禁用和启用SELinux。 获取SELinux的状态 (Get Status Of SELinux)Before enabling or disabling selinux status listing current status is very useful. We can use sestatus command which will show whether SELinux is enabled or disabled. 在启用或禁用selinux状态之前,列出当前状态非常有用。 我们可以使用sestatus命令显示SELinux是启用还是禁用。 $ sestatusIf the sestatus is not installed we can install it in Ubuntu, Debian, Kali, Mint with the following command. 如果未安装sestatus我们可以使用以下命令将其安装在Ubuntu,Debian,Kali,Mint中。 $ sudo apt install policycoreutils 暂时禁用SELinux (Disable SELinux Temporarily)We can disable SELinux in two-mode. We can disable SELinux temporarily with the setenforce command . This type of command will be effective up to reboot. After reboot configured settings will be effective. 我们可以以两种模式禁用 |
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |