mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add SELinux policy so kadmind can read the crackdb dictionary
https://pagure.io/freeipa/issue/6964 https://pagure.io/freeipa/issue/5948 https://pagure.io/freeipa/issue/2445 https://pagure.io/freeipa/issue/298 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
@@ -115,6 +115,24 @@ optional_policy(`
|
||||
sssd_stream_connect(ipa_otpd_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
#
|
||||
# password policy local policy
|
||||
#
|
||||
optional_policy(`
|
||||
gen_require(`
|
||||
type kadmind_t;
|
||||
type crack_db_t;
|
||||
class file getattr;
|
||||
class file open;
|
||||
class file read;
|
||||
class dir search;
|
||||
')
|
||||
allow kadmind_t crack_db_t:file { getattr open read };
|
||||
allow kadmind_t crack_db_t:dir search;
|
||||
')
|
||||
|
||||
|
||||
########################################
|
||||
#
|
||||
# ipa-helper local policy
|
||||
|
||||
Reference in New Issue
Block a user