2013-10-09 21:54:02 +00:00
|
|
|
.TH GENHOMEDIRCON "8" "Sep 2011" "Security Enhanced Linux" "SELinux"
|
2011-07-07 13:31:18 +00:00
|
|
|
.SH NAME
|
|
|
|
genhomedircon \- generate SELinux file context configuration entries for user home directories
|
2013-10-09 21:54:02 +00:00
|
|
|
.SH DESCRIPTION
|
2011-07-07 13:31:18 +00:00
|
|
|
.B genhomedircon
|
2012-08-22 10:48:30 +00:00
|
|
|
is a script that executes
|
|
|
|
.B 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().
|
2011-07-07 13:31:18 +00:00
|
|
|
|
2012-08-22 10:48:30 +00:00
|
|
|
The latter functionality depends on the "usepasswd" parameter being set to "true" (default)
|
|
|
|
in /etc/selinux/semanage.conf.
|
|
|
|
|
|
|
|
This script is usually executed by
|
|
|
|
.B semanage
|
|
|
|
although this default behavior can be optionally modified by setting to "true" the
|
|
|
|
"disable-genhomedircon" in /etc/selinux/semanage.conf.
|
2011-07-07 13:31:18 +00:00
|
|
|
|
2020-04-20 11:47:12 +00:00
|
|
|
Directories can be excluded from the list of home directories by the setting "ignoredirs"
|
|
|
|
in /etc/selinux/semanage.conf.
|
|
|
|
|
2011-07-07 13:31:18 +00:00
|
|
|
.SH AUTHOR
|
|
|
|
This manual page was written by
|
|
|
|
.I Dan Walsh <dwalsh@redhat.com>
|
2012-08-22 10:48:30 +00:00
|
|
|
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
semanage.conf(5), semodule(8), semanage(8), getpwent(3), getpwent_r(3)
|