HoneyMoose
  • 首页
  • Java
  • Jersey
  • Jira
  • Confluence
  • U.S.
    • USRealEstate
    • USVisaTrack
    • H1B
  • 项目和网站
    • CWIKI.US
    • OSSEZ 社区
    • WIKI.OSSEZ.COM
    • BUG.OSSEZ.COM
    • RSS.OSSEZ.COM
BLOG.OSSEZ.COM
A responsive blog theme focused om user reading experience
  1. Home
  2. Computer Science
  3. This article

Linux 查看 SELinux 的状态

2023年03月31日 235Browse 0Like 0Comments

可以运行下面的命令来查看当前服务配置的 SELinux 的状态。

getenforce

上面的输出状态显示了当前 SELinux 的配置状态。

2023-03-29_20-58-56

如果上图显示当前的状态。

临时禁用 SELinux 。

使用下面的命令来临时禁用 SELinux。

setenforce 0

 

https://www.ossez.com/t/linux-selinux/14365

Tags: None
Last updated:2023年03月31日

Kratos

stay absorbed stay excellent

Like
< Previous
Next >

Comments

Cancel reply

Newest Hotspots Random
Newest Hotspots Random
IntelliJ IDEA 2023.1 版本添加了包中类的列表功能 Jenkins 修改启动的端口 Spring 项目运行提示错误 Not a managed type Linux 查看 SELinux 的状态 WordPress 网站 Error Establishing a Database Connection(建立数据库连接时出错) Linux 开启或关闭 SELinux
Confluence 6 Windows 中以服务方式自动重启为服务手动安装 Confluence 分发包 Confluence 6 通过 SSL 或 HTTPS 运行 - 为 HTTPS 修改你的 Confluence 基础 URL Confluence 6 后台中的选择站点首页 Confluence 6 在用户组中添加或删除用户 从 Druid 控制台(Druid console)中进行查询 网贷回不了头怎么办
Categories
  • Algorithm(算法)
  • AMQP
  • Angular
  • CI
  • Compile And CI
  • Computer Science
  • Confluence
  • DataBase
  • Gradle
  • H1B
  • Hibernate
  • IDE
  • Java
  • Jersey
  • Jira
  • MariaDB
  • PrestaShop
  • Spring
  • Spring Batch
  • U.S.
  • USRealEstate
  • USVisaTrack
  • 我的小厨

COPYRIGHT © 2020 HoneyMoose. ALL RIGHTS RESERVED.

THEME CWIKIUS.CN MADE BY VTROIS