When the home directories of the users are created at a custom location, how can it be ensured that the SELinux security context types are picked up correctly and automatically, similar to those under '/home/' directory ?
Issue
- There is a requirement to set the home directories of the users under a custom location under
/. What SELinux security context type should be assigned to the directory, to ensure that the SELinux security context types are picked up correctly and automatically for the contents, and how should it be done ?
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
