Articles in this section

Is it possible to reset the Administrator password from CLI on SolusVM 2?

Applicable to:

  • SolusVM 2

Question

Is it possible to reset the Administrator password from CLI on SolusVM 2? 

Answer

There is no way to reset the Administrator password from CLI on SolusVM 2. However it is possible to generate one-time access link and update Administrator password from web interface:

  1. Log in to the SolusVM 2 Master server via SSH
  2. Execute the below command

    # docker exec $(docker ps -q -f name=solus_api | head -n1) php artisan auth:link

    Example of execution:

    # docker exec $(docker ps -q -f name=solus_api | head -n1) php artisan auth:link 
    https://10.40.1.220:443/admin/auth_by_link?email=admin@example.com&token=e5030f1ca97831eebffa93eb1fc99b6a4f6201c6310656ea55d5442b2369dca2

 

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.