Create the admin user VM

Create an admin user before the first sign-in

Use the platform command line utility to create an admin user before your first sign-in to the platform web-based GUI.

Enable sshd

For security reasons, the sshd service is disabled by default.
If necessary, enable it and start it:

systemctl enable sshd
systemctl start sshd

Create an admin user from the command line

Alternatively, you can create an admin user at a later time by using the platform command line tool.

Switch user

  1. Open a terminal session.

  2. Switch to the root user:

    # Root-access login shell
    sudo -i

Activate a virtual environment

  1. Activate a Python virtual environment for the platform:

    source /opt/eclecticiq-platform-backend/bin/activate
  2. Export the platform locale settings to create the necessary locale environment variables:

    # The system locale must be 'en_US.UTF-8'
    export LC_ALL=en_US.utf-8
    export LANG=en_US.utf-8

Create the admin user

To access the platform web-based GUI on installed VM, the platform must have at least one admin user.

  1. Invoke the platform command line tool and the user create command to to create an admin user:

    eiq-platform user create
  2. Follow the terminal prompts to specify a name and a password for the user.