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