COREmanager Documentation

Authorization with a temporary key

ISPSystem

To log in to the control panel without a username and password you can use a temporary key. To generate the key, access the server as the superuser (root per default). E.g. if you have specified invalid keys when configuring reCAPTCHA, you won't be able to log in to the control panel with your login and password. Perform the following steps to log in with a temporary key:

  1. Connect to server via SSH with the superuser permissions.
  2. Generate a random key at least 16-characters long:

    pwgen -s 16 1

    16 — the combination length;

    1 — the number of combinations.

  3. Copy the key to the clipboard.

  4. Execute the function to create an access key: 

    /usr/local/mgr5/sbin/mgrctl -m mgrname session.newkey username=user key=generatedKey

    mgrname — short name of a control panel:

    • ispmgr — ISPmanager;
    • billmgr — BILLmanager;
    • vmmgr — VMmanager KVM or Cloud;
    • vemgr — VMmanager OVZ;
    • dcimgr — DCImanager;
    • ipmgr — IPmanager;
    • dnsmgr — DNSmanager;

    user — username;

    generatedKey — the combination that you have copied to the clipboard on step 3.

  5. Follow the URL in the browser:

    Log in with the key
    domain.com:1500/mgrname?func=auth&key=generatedKey

    domain.com — a domain name or a public IP address of the control panel.

    mrgname — short name of a control panel:

    • ispmgr — ISPmanager;
    • billmgr — BILLmanager;
    • vmmgr — VMmanager KVM or Cloud;
    • vemgr — VMmanager OVZ;
    • dcimgr — DCImanager;
    • ipmgr — IPmanager;
    • dnsmgr — DNSmanager;

    generatedKey — the combination that you have copied to the clipboard on step 2.

  6. Following the URL will log in you in BILLmanager with administrator permissions. The temporary key will be reset automatically after the control panel stays idle for 1 hour. The key validity period can be changed using the OneTimeExpire parameter in the configuration file. See details in Configuration file parameters.
Thank you for your feedback!
Was the article useful?
Tell us why not:

it does not match the title

it was hard to understand

I didn't find the answer

recommendations from the article did not help

other

Tell us what you didn't like in the article: