Update dapostinstall.sh
This commit is contained in:
+2
-5
@@ -528,12 +528,9 @@ systemctl restart sshd
|
||||
csf -r
|
||||
|
||||
echo "poprawka too many users SSHD"
|
||||
touch sed -i '21i sshdconfig=/etc/ssh/sshd_config.plecibo' /etc/ssh/sshd_config
|
||||
sed -i '/sshdconfig=/d' /etc/ssh/sshd_config
|
||||
sed -i '21i sshdconfig=/etc/ssh/sshd_config.plecibo' /etc/ssh/sshd_config
|
||||
systemctl restart sshd
|
||||
touch /etc/ssh/sshd_config_placebo
|
||||
sed -i 's^/etc/ssh/sshd_config^/etc/ssh/sshd_config_placebo^g' /usr/local/directadmin/conf/directadmin.conf
|
||||
systemctl restart directadmin
|
||||
|
||||
cd $DAPOSTINSTALL_DIR
|
||||
sh da_cli.sh disablenamed
|
||||
sh da_cli.sh disablemultiserverpage
|
||||
|
||||
Reference in New Issue
Block a user