| 1 |
.TH GENHOMEDIRCON "8" "Sep 2011" "Security Enhanced Linux" "SELinux" |
| 2 |
.SH NAME |
| 3 |
genhomedircon \- generate SELinux file context configuration entries for user home directories |
| 4 |
.SH DESCRIPTION |
| 5 |
.B genhomedircon |
| 6 |
is a script that executes |
| 7 |
.B semodule |
| 8 |
to rebuild the currently active SELinux policy (without reloading it) and to create the |
| 9 |
labels for each user home directory based on directory paths returned by calls to getpwent(). |
| 10 |
|
| 11 |
The latter functionality depends on the "usepasswd" parameter being set to "true" (default) |
| 12 |
in /etc/selinux/semanage.conf. |
| 13 |
|
| 14 |
This script is usually executed by |
| 15 |
.B semanage |
| 16 |
although this default behavior can be optionally modified by setting to "true" the |
| 17 |
"disable-genhomedircon" in /etc/selinux/semanage.conf. |
| 18 |
|
| 19 |
.SH AUTHOR |
| 20 |
This manual page was written by |
| 21 |
.I Dan Walsh <[email protected]> |
| 22 |
|
| 23 |
.SH "SEE ALSO" |
| 24 |
semanage.conf(5), semodule(8), semanage(8), getpwent(3), getpwent_r(3) |