From 8a96a378020c6ab1631876f93ae460a937243701 Mon Sep 17 00:00:00 2001 From: James Hogarth Date: Nov 21 2014 21:53:46 +0000 Subject: oops ... working in virsh wit ha strict column limit can be painful --- diff --git a/tests/p_ipa-server/7-addsudo.sh b/tests/p_ipa-server/7-addsudo.sh index 5d6b8ee..6f98f29 100755 --- a/tests/p_ipa-server/7-addsudo.sh +++ b/tests/p_ipa-server/7-addsudo.sh @@ -56,7 +56,7 @@ if t_GetPkgRel basesystem | grep -q el7 then t_Log "Running $0 - test adding sudo configuration" echo "sudoers: files sss" >> /etc/nsswitch.conf -sed -i 's/services = nss, pam, ssh/services = nss, pam, ssh, sudo/' /etc/sssd/s +sed -i 's/services = nss, pam, ssh/services = nss, pam, ssh, sudo/' /etc/sssd/sssd.conf sed -i 's/id_provider = ipa/id_provider = ipa\nsudo_provider = ldap\nldap_sudo_search_base = ou=sudoers,dc=c6ipa,dc=local\nldap_sasl_mech = GSSAPI/' /etc/sssd/sssd.conf fi