Installer: configure authselect with-sudo

authselect needs to be configured with the 'with-sudo' feature (except
when ipa-client-install is called with the option --no-sudo).

https://pagure.io/freeipa/issue/7562

Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Florence Blanc-Renaud
2018-06-18 13:27:41 +02:00
committed by Christian Heimes
parent 4f4835a724
commit eda831dba1
6 changed files with 34 additions and 15 deletions

View File

@@ -133,7 +133,8 @@ class BaseTaskNamespace(object):
raise NotImplementedError()
def modify_nsswitch_pam_stack(self, sssd, mkhomedir, statestore):
def modify_nsswitch_pam_stack(self, sssd, mkhomedir, statestore,
sudo=True):
"""
If sssd flag is true, configure pam and nsswitch so that SSSD is used
for retrieving user information and authentication.