Task: Run a Bash Script as Non-Root User from a Sudo-Started Node.js Application
Task: Run a Bash Script as Non-Root User from a Sudo-Started Node.js Application: a task in Terminal-Lego-15k (Harbor dataset). When a Node.js application is started with sudo (e.g., to bind to port 80), all child processes spawned from it also run as root by default. However, some applications…
The task
When a Node.js application is started with `sudo` (e.g., to bind to port 80), all child processes spawned from it also run as root by default. However, some applications (e.g., CUDA-based tools) cannot run correctly under root/sudo. The challenge is to spawn a child bash script from a sudo-started Node.js process…
Part of PrimeIntellect/Terminal-Lego-15k.