[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#946797: debian-edu-config: kadm5.acl should set proper rights for users



On Mon, Dec 16, 2019 at 12:26:57AM +0100, Wolfgang Schweer wrote:
> Also, /etc/krb5kdc/kadm5.acl should be fixed accordingly upon upgrades
> by adding something like this to debian-edu-config.postinst:
> 
> [configure case]
>      fi
> +
> +    # Set proper rights for users.
> +    if [ -f /etc/krb5kdc/kadm5.acl ] ; then
> +        sed -i 's/cil/Cil/' /etc/krb5kdc/kadm5.acl
> +    fi
>      ;;

I've made this conditional, so that this is only executed when upgrading
from 2.11.9 or before. (Also because the above changes also need a
krb5-admin-server service restart...)


-- 
cheers,
	Holger

-------------------------------------------------------------------------------
               holger@(debian|reproducible-builds|layer-acht).org
       PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C

Attachment: signature.asc
Description: PGP signature


Reply to: