V-change-user-password dont work

I can’t access the Panel: I enter Admin and Password but they don’t work. I logged in as root with SSH and gave the command: v-change-user-password admin newpassword and then rebooted but the same problem occurs.
If I try to install HestiaCP again on the existing one, do I lose my data?
Is there a different way to regain access?

Check log files

/var/log/hestia/auth.log

2022-04-29 15:36:26 admin 37.100.33.104 failed to login
2022-04-29 17:26:26 pippo 37.100.33.104 successfully logged in

I login as user but not as admin and cannot change password to admin

Try a password composed only of numbers and letters.

Done but it doesn’t work. Thanks anyway for your reply. I install from scratch and copy the data

The 100 is a tailscale IP.
2023-08-01 14:59:45 admin 100.116.143.121 failed to login (IP address not in allowed list)

I do not see the command to allow the IP for admin

v-add-firewall-ipset
v-add-sys-api-ip
v-add-sys-ip
v-change-dns-domain-ip
v-change-sys-ip-name
v-change-sys-ip-nat
v-change-sys-ip-owner
v-change-sys-ip-status
v-change-web-domain-ip
v-delete-firewall-ipset
v-delete-sys-api-ip
v-delete-sys-ip
v-delete-user-ips
v-list-firewall-ipset
v-list-sys-ip
v-list-sys-ips
v-list-user-ips
v-update-firewall-ipset
v-update-sys-ip
v-update-sys-ip-counters

v-change-user-config-value user ALLOWED_IP ip address

If I am right

Sounds good, but did not work and not showing at CLI Reference | Hestia Control Panel

Try this:

v-change-user-config-value youruser LOGIN_ALLOW_IPS yourip

1 Like

v-change-user-config-value admin LOGIN_ALLOW_IPS 100.116.143.121

2023-08-01 17:00:59 admin 100.116.143.121 successfully logged in
2023-08-01 17:01:01 admin 100.116.143.121 failed to login (IP address not in allowed list)

open /usr/local/hestia/data/users/admin/user.conf

And remove it there manually it should work fine

That actually worked, but I entered two IPs on separate lines instead of IP,IP. I saw in /usr/local/hestia/data/users/admin/user.conf where it had the second IP I had entered.

1 Like