From 53db10cd17cb0266c8a3fc95a006654af456d8ce Mon Sep 17 00:00:00 2001 From: Marek Miklewicz <86836305+marsonpl@users.noreply.github.com> Date: Tue, 23 Dec 2025 14:29:08 +0100 Subject: [PATCH] Update directadmin configuration settings Add restrictions for CustomBuild plugin access and update username length. --- dapostinstall.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dapostinstall.sh b/dapostinstall.sh index 3f67b96..2abc163 100755 --- a/dapostinstall.sh +++ b/dapostinstall.sh @@ -616,8 +616,10 @@ cp lang_pl.php $DADIR/plugins/imapsync/lang echo "instalacja promptów" sh prompt.sh - +echo "Blokada dostępu do pluginu CustomBuild i informacjach o licencji" echo "never_commands=custombuild:updates:license" >> /usr/local/directadmin/conf/directadmin.conf +echo "wydłużenie dopuszczalnej długości nazwy użytkownika do 14 znaków" +echo "max_username_length=14" >> /usr/local/directadmin/conf/directadmin.conf systemctl restart directadmin rm -rf /usr/local/directadmin/data/users/skin* da build rewrite_confs