Page 1 of 1

Error: Login with root has been disabled - when attempting to access the control panel

Posted: Wed Nov 10, 2021 2:02 am
by bobmeetin
I last signed into the control panel about 2 weeks back. It was fine. This AM I tried and am unable to sign in, see the error: Login with root has been disabled. It appears to be an updated UI for the Login form. I have 2 VPS accounts running Vesta and the problem affects both.

About 2 weeks ago one of my accounts started sending me some cron errors nightly.

Subject: Cron <admin@host> sudo /usr/local/vesta/bin/v-update-sys-vesta-all
Msg Body:

/usr/local/vesta/bin/v-update-sys-vesta: line 41: syntax error near unexpected token `fi'
/usr/local/vesta/bin/v-update-sys-vesta: line 41: `fi [ "$package" = "vesta-ioncube" ]; then '
/usr/local/vesta/bin/v-update-sys-vesta: line 41: syntax error near unexpected token `fi'
/usr/local/vesta/bin/v-update-sys-vesta: line 41: `fi [ "$package" = "vesta-ioncube" ]; then '
/usr/local/vesta/bin/v-update-sys-vesta: line 41: syntax error near unexpected token `fi'
/usr/local/vesta/bin/v-update-sys-vesta: line 41: `fi [ "$package" = "vesta-ioncube" ]; then '
/usr/local/vesta/bin/v-update-sys-vesta: line 41: syntax error near unexpected token `fi'
/usr/local/vesta/bin/v-update-sys-vesta: line 41: `fi [ "$package" = "vesta-ioncube" ]; then '
/usr/local/vesta/bin/v-update-sys-vesta: line 41: syntax error near unexpected token `fi'
/usr/local/vesta/bin/v-update-sys-vesta: line 41: `fi [ "$package" = "vesta-ioncube" ]; then '

I still have SSH root access to both accounts. Not being a network engineer I am guessing that the 2 items are related.

Is there a fix on the way or is there something that I can do via SSH to band-aid the problems and get back the ability to use the control panel?

Re: Error: Login with root has been disabled - when attempting to access the control panel

Posted: Wed Nov 10, 2021 3:25 am
by bobmeetin
Image

Re: Error: Login with root has been disabled - when attempting to access the control panel

Posted: Wed Nov 10, 2021 5:53 pm
by imperio
Starting from version 1.0, root access is prohibited for security reasons. You need to use admin

Re: Error: Login with root has been disabled - when attempting to access the control panel

Posted: Wed Nov 10, 2021 7:45 pm
by bobmeetin
I have been using root since the beginning, about 3 years ago for me, to access the control panel. It's only within the past couple weeks since an update, I guess, that it is now failing.

If I attempt to sign in as admin the error message is:

Invalid username or password.

That being said, how do I fix this so that I can sign in using admin?

Re: Error: Login with root has been disabled - when attempting to access the control panel

Posted: Wed Nov 10, 2021 8:35 pm
by imperio
You can change password for admin via ssh

Code: Select all

v-change-user-password admin newpassword