Disabling sudo for yumΒΆ

By default, sudo access for yum is enabled on the Anaconda Enterprise platform. You can easily disable it, however, if your organization requires it.

  1. Log in to Anaconda Enterprise, select the Menu icon icon in the top right corner and click the Administrative Console link displayed at the bottom of the slide out window.

  1. Click Manage Resources.

  2. Log in to the Operations Center using the Administrator credentials configured after installation.

  3. Select Configuration from the menu on the left.

  4. Verify that the anaconda-enterprise-anaconda-platform.yml configuration file is selected in the Config map drop-down menu.


Anaconda recommends that you make a backup copy of this file since you will be editing it directly.

  1. Scroll down to the sudo-yum section of the Config map:


  1. Change the setting from default to disable:

    sudo-yum: disable
  2. Click Apply to save your changes.

  3. To update the Anaconda Enterprise server with your changes, restart services by running these commands on the master node:

    sudo gravity enter
    kubectl get pods | grep ap- | cut -d' ' -f1 | xargs kubectl delete pods

To re-enable sudo yum, simply change this Config map setting back to default, save your changes, and restart services.