Articles in this section

How to get the admin usernames from database and generate password?

Applicable to:

  • SolusVM

Question

 How to get the admin users from database and generate password?

Answer

  1. Connect to Master server via SSH
  2. Access SolusVM database:
    # curl -o solusvmdb.sh https://raw.githubusercontent.com/solusvm-support/helpers/master/solusvmdb.sh && sh solusvmdb.sh
  3. List administrator list:

    MYSQL_LIN: select username from administrators;

In order to generate new password for administrator execute the command:

# php /usr/local/solusvm/scripts/pass.php --type=admin --comm=change --username=<ADMINUSERNAME>

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.