semanage
semanage命令是用来查询与修改SELinux默认目录的安全上下文用法:semanagefcontext[-Sstore]-{a|d|m|l|n|D}[-frst]file_specsemanagefcontext[-Sstore] ...,AstheLinuxrootuser,usetherestoreconutilitytorestorethedefaultSELinuxcontext.Refertothesemanage(8)man...
semanageisusedtoconfigurecertainelementsofSELinuxpolicywithoutrequiringmodificationtoorrecompilationfrompolicysources.
** 本站引用參考文章部分資訊,基於少量部分引用原則,為了避免造成過多外部連結,保留參考來源資訊而不直接連結,也請見諒 **
此文章參考的來源相關文章推薦
semanage linux 命令在线中文手册
semanage命令是用来查询与修改SELinux默认目录的安全上下文 用法: semanage fcontext [-S store] -{a|d|m|l|n|D} [-frst] file_spec semanage fcontext [-S store] ...
5.6.2. Persistent Changes
As the Linux root user, use the restorecon utility to restore the default SELinux context. Refer to the semanage(8) manual page for further information about ...
第三章、SELinux 初探
基本上,透過了解SELinux 的三種模式(disabled, permissive, enforcing)、功能規範開放與否(getsebool, setsebool)、 安全本文的修改(chcon, restorecon, semanage fcontext) ...