outroll / vesta

VESTA Control Panel
http://vestacp.com
GNU General Public License v3.0
2.95k stars 1.03k forks source link

VestaCP.com Advanced Install Settings should use quotes in parameters #1024

Open drsdre opened 7 years ago

drsdre commented 7 years ago

Operating System (OS/VERSION):

Ubuntu 16.04

VestaCP Version:

R17

Installed Software (what you got with the installer):

-

Steps to Reproduce:

Use a password or username with a & sign in it in the web form. Use the generated command on the server:

bash vst-install.sh --nginx yes --phpfpm yes --apache no --vsftpd no --proftpd no --exim no --dovecot no --spamassassin no --clamav no --named no --iptables yes --fail2ban yes --mysql yes --postgresql no --remi yes --quota no --hostname dbserver03 --email user@mail.com --password gfgfg?gfgvcvcX&2

When required to confirm installation with vst-install.sh it comes back with:

Would you like to continue [y/n]: y y: command not found

Solution

The password should be generated using quotes in the command string (also recommended for the other parameters from web form):

--hostname "dbserver03" --email "user@mail.com" --password "gfgfg?gfgvcvcX&2"

asisten commented 7 years ago

Thank you I also have these problem and now fixed by your solution.

Install on Debian 8