Advertisement

Linux基础:使用setools-console查询SELinux状态

阅读量:
在这里插入图片描述

本文将对setools-console工具中所集成的两个常用指令seinfo与sesearch进行说明,这两个命令可用于查询SELinux相关的角色、用户类型等信息。

安装

【在CentOS系统中,默认情况下setools-console组件并未预装,因此用户需手动完成安装操作。

执行安装的指令为:yum install setools-console -y

复制代码
    [root@liumiaocn ~]# yum install setools-console -y
    Loaded plugins: fastestmirror
    ...省略
    Running transaction
      Installing : setools-libs-3.3.8-4.el7.x86_64                                                                                      1/2 
      Installing : setools

全部评论 (0)

还没有任何评论哟~