Must not run with Sudo issue on AzureDevOps agent in Linux machines
This error occurs when we are trying to install an AzureDevOps agent using root as user and also for some other issues
Apply the below fix in the code below which will help you to solve this issue
export AGENT_ALLOW_RUNASROOT="1"
Once the above command is run you will able to run ./config.sh script again to install the agents in your linux machine
And you will get a message like the one shown below

5 Responses
… [Trackback]
[…] There you can find 62201 additional Info to that Topic: azuredevopsguide.com/must-not-run-with-sudo-issue-on-azuredevops-agent-in-linux-machines/ […]
… [Trackback]
[…] Read More Information here to that Topic: azuredevopsguide.com/must-not-run-with-sudo-issue-on-azuredevops-agent-in-linux-machines/ […]
… [Trackback]
[…] Info to that Topic: azuredevopsguide.com/must-not-run-with-sudo-issue-on-azuredevops-agent-in-linux-machines/ […]
… [Trackback]
[…] Find More Information here on that Topic: azuredevopsguide.com/must-not-run-with-sudo-issue-on-azuredevops-agent-in-linux-machines/ […]
… [Trackback]
[…] There you will find 17938 additional Information to that Topic: azuredevopsguide.com/must-not-run-with-sudo-issue-on-azuredevops-agent-in-linux-machines/ […]