leslie-tsang opened a new issue #6250: URL: https://github.com/apache/apisix/issues/6250
### Issue description It is **rarely** a good idea to have `sudo` inside scripts. Instead, remove the `sudo` from the script and run it with sudo, as APISIX GitHub Action does. That way, all commands within the script will be run with root privileges and you only need to give the password once when launching the script. ## Solution I think we should remove all `sudo` in the script, I would like to know what is your opinion on this issue :) ### Environment - apisix version (cmd: `apisix version`): - OS (cmd: `uname -a`): - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API): - apisix-dashboard version, if have: - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner): - luarocks version, if the issue is about installation (cmd: `luarocks --version`): -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
