Adding a "mega" user with the sudo access

Last Updated : Jan 23, 2023 |
Prolog information
You can create a mega user account with the sudo access on every Routing Core Server and Configuration Server to deploy in your contact center. You can create a mega account after the operating system installation. You can access the root account using the sudo command.
  1. On the contact center server, open the console.
  2. To log in as the root user, run the following command:
    ADDITIONAL INFORMATION:
    su -
  3. When prompted, enter the root password.
  4. To create a mega user, run the following command:
    ADDITIONAL INFORMATION:
    adduser mega
  5. When prompted, type the root password.
    STEP RESULT:
    The command creates a new user with the mega username and home/mega/ as the home directory.
  6. In New password, type the password for the mega user.
  7. To confirm the password, retype the password.
  8. Provide the mega user details.
  9. To grant the sudo access to the mega user, run the following command:
    ADDITIONAL INFORMATION:
    usermod -aG wheel mega
    STEP RESULT:
    The command adds the mega user to the wheel group that grants the sudo access to users.