SELinux - context

maelamrani

Member
Credits
323
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
Credits
7,615
Assuming your are running centos/rhel.
Code:
semanage fcontext -a -t admin_home_t "/direct01(/.*)?"
restorecon -R
 


Members online


Top