Reset User Password Through System Console
In Paragon Automation, the default username and password are set as admin and Admin123!, respectively.
The admin user does not require an e-mail address to access the Paragon Automation GUI. If the initial password set by an admin user is lost, it can be recovered by a system administrator who has access to the physical server or virtual machine where Paragon Automation is installed.
To recover the admin password, the system administrator has to run the following curl command in any shell in one of the nodes in the Kubernetes cluster.
The system administrator can use the command to reset the password of any user.
curl -k --request POST 'https://{{server-ip}}:{{port}}/iam/reset-password' --header 'x-service-token: '$(kubectl get secret -n {{namespace}} $(kubectl get sa -n {{namespace}} iam -o jsonpath='{.secrets[0].name}') -o jsonpath='{.data.token}' | base64 --decode)'' --header 'x-service-scope: {}' --header 'Content-Type: application/json' --data '{
"user_name" : "{{username}}",
"new_password" : "{{password}}"
}'
Where,
-
server-ip denotes the virtual IP address of the Ingress Controller that you configured during installation.
Port is 443
namespace is common.
username is the username of the user.
password is the new password for the user that you enter.
The password should be between 6 to 20 characters and must be a combination of uppercase letters, lowercase letters, numbers, and special characters.
When the system administrator runs this command, the user’s password is reset to the password that the system administrator provided and an e-mail is sent to the user with the new password, if SMTP is configured. If SMTP is not configured, the system administrator must manually inform the user about the new password.