Open dhirschfeld opened 2 years ago
Doesn't seem .bashrc
is sourced :thinking:
We can instead add the condabin
dir to the secure path:
secure_path=$(sudo sed -nr 's|^(Defaults\s+secure_path=".*):?"\s*$|\1:/opt/mambaforge/envs/base/condabin"|p' /etc/sudoers)
echo $secure_path >> /etc/sudoers.d/secure_path
Need to add: