V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
king1688888888
V2EX  ›  Linux

请教 RHEL7 操作系统下的 SElinux 配置

  •  
  •   king1688888888 · Oct 28, 2020 · 2493 views
    This topic created in 2019 days ago, the information mentioned may be changed or developed.
    日常装机禁用 SElinux 习惯了,单位考试时需要考到 SElinux 相关知识点,自己找了相关文档但还是不太懂,请各位大佬帮帮忙。

    题目 1:
    使用强制运行机制对 /usr/local/test 程序的行为进行限制,使其禁止执行 /sbin 目录下的所有程序,并且禁止执行 mysql 命令。

    题目 2:
    使用 MCC 机制对程序 /usr/local/test 的执行能力进行最小化限制,仅授予 test 程序以下能力。
    1.忽略对文件的所有 DAC 访问限制,该属性是 effective 和 inheritable
    2.允许绑定到小于 1024 的端口
    3.允许使用 chroot()系统调用,该能力的属性是 effective 和 permitted
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1061 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 18:36 · PVG 02:36 · LAX 11:36 · JFK 14:36
    ♥ Do have faith in what you're doing.