|
|
@@ -169,7 +169,7 @@ system("rcctl enable haproxy"); |
|
|
|
system("rcctl start haproxy"); |
|
|
|
|
|
|
|
# Disable root login |
|
|
|
system("sed -i -e 's/^[^#]*PermitRootLogin.+$/PermitRootLogin no/' /etc/apache2/httpd2.conf"); |
|
|
|
system("sed -i -e 's/^[^#]*PermitRootLogin.*\$/PermitRootLogin no/' /etc/ssh/sshd_config"); |
|
|
|
|
|
|
|
printf("\n\nInstall complete\n"); |
|
|
|
printf("==================================================\n"); |
|
|
|