semanage.conf - improve usepasswd=False explanation

This commit is contained in:
Petr Lautrbach 2020-12-18 17:23:29 +01:00
parent 9fe6a11821
commit 6cea6649ba
1 changed files with 4 additions and 2 deletions

View File

@ -42,8 +42,10 @@ module-store = direct
expand-check=0
# usepasswd check tells semanage to scan all pass word records for home directories
# and setup the labeling correctly. If this is turned off, SELinux will label /home
# correctly only. You will need to use semanage fcontext command.
# and setup the labeling correctly. If this is turned off, SELinux will label only /home
# and home directories of users with SELinux login mappings defined, see
# semanage login -l for the list of such users.
# If you want to use a different home directory, you will need to use semanage fcontext command.
# For example, if you had home dirs in /althome directory you would have to execute
# semanage fcontext -a -e /home /althome
usepasswd=False