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

This commit is contained in:
Carneiro committed 2024-11-17 21:02:49 -03:00
1 parent f4e4e47d8f
commit f7e0728583
1 file changed
+6 -1
+6 -1
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