当前位置:网站首页>Fedora/REHL 安装 semanage
Fedora/REHL 安装 semanage
2022-07-06 04:12:00 【InfoQ】
检查要安装的包
dnf provides semanage

安装
sudo dnf install policycoreutils-python-utils
校验安装
semanage -h
[[email protected] conf.d]$ semanage -h
usage: semanage [-h] {import,export,login,user,port,ibpkey,ibendport,interface,module,node,fcontext,boolean,permissive,dontaudit} ...
semanage is used to configure certain elements of SELinux policy with-out requiring modification to or recompilation from policy source.
positional arguments:
{import,export,login,user,port,ibpkey,ibendport,interface,module,node,fcontext,boolean,permissive,dontaudit}
import Import local customizations
export Output local customizations
login Manage login mappings between linux users and SELinux confined users
user Manage SELinux confined users (Roles and levels for an SELinux user)
port Manage network port type definitions
ibpkey Manage infiniband ibpkey type definitions
ibendport Manage infiniband end port type definitions
interface Manage network interface type definitions
module Manage SELinux policy modules
node Manage network node type definitions
fcontext Manage file context mapping definitions
boolean Manage booleans to selectively enable functionality
permissive Manage process type enforcement mode
dontaudit Disable/Enable dontaudit rules in policy
options:
-h, --help show this help message and exit

边栏推荐
- 【leetcode】22. bracket-generating
- 查询mysql数据库中各表记录数大小
- How to execute an SQL statement in MySQL
- Conditionally [jsonignore]
- Stack and queue
- MySQL master-slave replication
- /usr/bin/gzip: 1: ELF: not found/usr/bin/gzip: 3: : not found/usr/bin/gzip: 4: Syntax error:
- 颠覆你的认知?get和post请求的本质
- [disassembly] a visual air fryer. By the way, analyze the internal circuit
- 20、 EEPROM memory (AT24C02) (similar to AD)
猜你喜欢
ESP32_ FreeRTOS_ Arduino_ 1_ Create task
math_ Derivative function derivation of limit & differential & derivative & derivative / logarithmic function (derivative definition limit method) / derivative formula derivation of exponential functi
10個 Istio 流量管理 最常用的例子,你知道幾個?
MySql數據庫root賬戶無法遠程登陸解决辦法
Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage
10个 Istio 流量管理 最常用的例子,你知道几个?
When debugging after pycharm remote server is connected, trying to add breakpoint to file that does not exist: /data appears_ sda/d:/segmentation
TCP/IP协议里面的网关地址和ip地址有什么区别?
Ipv4中的A 、B、C类网络及子网掩码
【按键消抖】基于FPGA的按键消抖模块开发
随机推荐
1291_Xshell日志中增加时间戳的功能
STC8H开发(十二): I2C驱动AT24C08,AT24C32系列EEPROM存储
Esp32 (based on Arduino) connects the mqtt server of emqx to upload information and command control
Basic knowledge of binary tree, BFC, DFS
Simple blog system
Conditionally [jsonignore]
How does technology have the ability to solve problems perfectly
Comprehensive ability evaluation system
Redis (replicate dictionary server) cache
C mouse event and keyboard event of C (XXVIII)
Basic use of MySQL (it is recommended to read and recite the content)
Lambda expression learning
判断当天是当月的第几周
Global and Chinese markets for patent hole oval devices 2022-2028: Research Report on technology, participants, trends, market size and share
Plus d'un milliard d'utilisateurs de grandes entreprises comme Facebook ont été compromis, il est temps de se concentrer sur le did
查询mysql数据库中各表记录数大小
1291_ Add timestamp function in xshell log
What is the difference between gateway address and IP address in tcp/ip protocol?
How to execute an SQL statement in MySQL
How to modify field constraints (type, default, null, etc.) in a table