GENHOMEDIRCON(8) SELinux GENHOMEDIRCON(8)
genhomedircon - generate SELinux file context configuration entries for user home directories
genhomedircon is a script that executes semodule to rebuild the currently active SELinux policy (without reloading it) and to create the labels for each user home directory based on directory paths returned by calls to getpwent(). The latter functionality depends on the "usepasswd" parameter being set to "true" (default) in /etc/selinux/semanage.conf. This script is usually executed by semanage although this default behavior can be optionally modified by setting to "true" the "disable-genhomedircon" in /etc/selinux/semanage.conf. Directories can be excluded from the list of home directories by the setting "ignoredirs" in /etc/selinux/semanage.conf.
This manual page was written by Dan Walsh <email@example.com>
semanage.conf(5), semodule(8), semanage(8), getpwent(3), getpwent_r(3)
This page is part of the selinux (Security-Enhanced Linux user-space libraries and tools) project. Information about the project can be found at ⟨https://github.com/SELinuxProject/selinux/wiki⟩. If you have a bug report for this manual page, see ⟨https://github.com/SELinuxProject/selinux/wiki/Contributing⟩. This page was obtained from the project's upstream Git repository ⟨https://github.com/SELinuxProject/selinux⟩ on 2020-07-14. (At that time, the date of the most recent commit that was found in the repos‐ itory was 2020-07-10.) If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up-to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which is not part of the original manual page), send a mail to firstname.lastname@example.org Security Enhanced Linux Sep 2011 GENHOMEDIRCON(8)
Pages that refer to this page: file_contexts(5), file_contexts.homedirs(5), file_contexts.local(5), file_contexts.subs(5), file_contexts.subs_dist(5), selabel_file(5)