From 6cea6649ba8c40de1c41ac7bde56aabbcfd8cfd4 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Fri, 18 Dec 2020 17:23:29 +0100 Subject: [PATCH] semanage.conf - improve usepasswd=False explanation --- semanage.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/semanage.conf b/semanage.conf index ca21c5b..e2aad0c 100644 --- a/semanage.conf +++ b/semanage.conf @@ -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