Task: Investigate and Fix sudo -E Environment Variable Preservation
Task: Investigate and Fix sudo -E Environment Variable Preservation: a task in Terminal-Lego-15k (Harbor dataset). When using sudo -E to run commands while preserving environment variables, certain variables like PERL5LIB may be stripped due to sudo's built-in security restrictions. The sudoers…
The task
When using `sudo -E` to run commands while preserving environment variables, certain variables like `PERL5LIB` may be stripped due to sudo's built-in security restrictions. The `sudoers` configuration contains an `env_delete` list and an `env_reset` mechanism that removes potentially dangerous environment variables —…
Part of PrimeIntellect/Terminal-Lego-15k.