M maelamrani Member Joined Jan 3, 2020 Messages 77 Reaction score 7 Credits 450 Oct 20, 2020 #1 Hello, Can someone explain to me this question : Create a directory /direct01 and apply SELinux contexts for /root what should i do ? Kind regards,
Hello, Can someone explain to me this question : Create a directory /direct01 and apply SELinux contexts for /root what should i do ? Kind regards,
f33dm3bits Gold Member Gold Supporter Joined Dec 11, 2019 Messages 6,864 Reaction score 5,279 Credits 50,344 Oct 23, 2020 #2 Assuming your are running centos/rhel. Code: semanage fcontext -a -t admin_home_t "/direct01(/.*)?" restorecon -R
Assuming your are running centos/rhel. Code: semanage fcontext -a -t admin_home_t "/direct01(/.*)?" restorecon -R
OP M maelamrani Member Joined Jan 3, 2020 Messages 77 Reaction score 7 Credits 450 Oct 23, 2020 #3 Hello thx for ur answer but why did you choose admin_home_t For root mean ?
f33dm3bits Gold Member Gold Supporter Joined Dec 11, 2019 Messages 6,864 Reaction score 5,279 Credits 50,344 Oct 24, 2020 #4 maelamrani said: Hello thx for ur answer but why did you choose admin_home_t For root mean ? Click to expand... You check the selinux context of /root by doing Code: ls -Z /
maelamrani said: Hello thx for ur answer but why did you choose admin_home_t For root mean ? Click to expand... You check the selinux context of /root by doing Code: ls -Z /