+4 votes
in Web & Google by (40.5k points)
I forgot my admin password and now I cannot access MyVestaCP control panel on my VPS.

How can I reset the admin password from the terminal? Is there any command to do it?

1 Answer

+1 vote
by (350k points)
selected by
 
Best answer

Login to your server via SSH. On the terminal, type the following command to change the admin password for VestaCP or MyVestaCP or HestiaCP.

$ v-change-user-password admin your_new_password


...