add permission change in post
Deploy Package / Explore-Gitea-Actions (push) Successful in 9s Details

This commit is contained in:
Carneiro 2024-11-17 21:02:49 -03:00
parent f4e4e47d8f
commit f7e0728583
1 changed files with 6 additions and 1 deletions

View File

@ -6,4 +6,9 @@ set -e
db_get alice-auth/ldap-bind-password
sed -i "s/ldap_default_authtok =.*/ldap_default_authtok = $RET/" /etc/sssd/sssd.conf
SSSD_CONFIG=/etc/sssd/sssd.conf
sed -i "s/ldap_default_authtok =.*/ldap_default_authtok = $RET/" $SSSD_CONFIG
chmod 600 $SSSD_CONFIG
chown root:root $SSSD_CONFIG