I’d like to know how to use the sudo command in my Replit instance. I’m aiming to integrate my Replit instance with our APM (Application Performance Management) solution. Below is the command I’ve been trying to execute:
#!/bin/bash curl -o setup_agent.sh https://setup.instana.io/agent && chmod 700 ./setup_agent.sh && sudo ./setup_agent.sh -a *** -d *** -t dynamic -e ingress-red-saas.instana.io:443
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 24158 100 24158 0 0 42890 0 --:--:-- --:--:-- --:--:-- 42909 sudo: The "no new privileges" flag is set, which prevents sudo from running as root. sudo: If sudo is running in a container, you may need to adjust the container configuration to disable the flag.
Repl link/Link to where the bug appears:
Screenshots, links, or other helpful context: