Resetting Local Admin Password via SSH Access

Last update:
Last verified version: AMC 3.2.1

Issue

You have lost the password of the local admin user (Web GUI) but still have access the system via SSH.

If you have lost the SSH password please refer to this article:
Resetting the SSH Password in ASGARD

Solution

You can reset it via command line using the following command:

Bash
nextron@asgard:~$ sudo asgard-management-center set-password
{"LEVEL":"Info","MESSAGE":"LDAP disabled","MODULE":"LDAP","TIME":"2024-04-10T08:17:42Z"}
Please enter password for user `admin`:
Please re-enter password for user `admin`:
Apr 10 08:17:49 asgard 
THOR_UTIL: Info: SET_PASSWORD: password successfully updated