How to get the admin username and password of hestiacp

How to get the admin username and password of hestiacp? I have access to the terminal of Ubuntu 20.04, please help getting it as I forgot the login details and also the file saved was lost.

You can’t recover the password of a user but if you can use the root user or at least the sudo command, you can change it.

If you dont know what’s the administrator user:

sudo /usr/local/hestia/bin/v-list-users | grep -E 'admin\s{1,}system'

And it will show the administrator user name in the first column. Once you get the administrator user name, change the password.

sudo /usr/local/hestia/bin/v-change-user-password HereTheAdminName 'HereTheNewPassword'
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.