Enabling passwordless sudo for the "mega" user

Last Updated : Dec 14, 2021 |

About this task

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.

Procedure

  1. On the contact center server, open the console.
  2. To log in as the root user, run the following command:

    su -

  3. In the command prompt, enter the root password.
  4. To open the sudoers file for editing, run the following command:

    vi -f /etc/sudoers

  5. In the sudoers file, add the following line:

    mega ALL=(ALL) NOPASSWD: ALL

  6. To save the file, run the following command:

    :wq!