logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

genhomedircon - generate SELinux file context configuration entries for user home directories

Author

       This manual page was written by DanWalsh<dwalsh@redhat.com>

Description

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.

Name

       genhomedircon - generate SELinux file context configuration entries for user home directories

See Also

semanage.conf(5), semodule(8), semanage(8), getpwent(3), getpwent_r(3)

Security Enhanced Linux                             Sep 2011                                    GENHOMEDIRCON(8)

See Also