Enabling passwordless sudo for the "mega" user

Last Updated : Dec 14, 2021 |
Prolog information
Enable the sudo access without a password to the "mega" user in the sudoers file on all contact center servers. The sudoers file contains the information about permissions for all existing users.
Before you begin
Add a "mega" user with the sudo access.
  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. In the command prompt, enter the root password.
  4. To open the sudoers file for editing, run the following command:
    ADDITIONAL INFORMATION:
    vi -f /etc/sudoers
  5. In the sudoers file, add the following line:
    ADDITIONAL INFORMATION:
    mega ALL=(ALL) NOPASSWD: ALL
  6. To save the file, run the following command:
    ADDITIONAL INFORMATION:
    :wq!