52ky 发表于 2022-9-11 09:57:29

selinux安装策略控制

1.ps-Z-revealsthevarioussandboxes/domains(subjects)2.ls-Z-revealssecuritycontextoffiles/directories(objects)3.cp-Z-newfilewithNEWsecuritycontext(Type)iscreated4.mv-Z-preservesSELinuxsecuritytuple/context/label5.id-Z-revealscurrentsecuritycontextofuser(tuple)

(1.ps-Z-revealsthevarioussandboxes/domains(subjects)2.ls-Z-revealssecuritycontextoffiles/directories(objects)3.cp-Z-newfilewithNEWsecuritycontext(Type)iscreated4.mv-Z-preservesSELinuxsecuritytuple/context/label5.id-Z- revealscurrentsecuritycontextofuser(tuple))




页: [1]
查看完整版本: selinux安装策略控制