If I execute the command:
after going into the jail by "jexec 1", it would work. However, I'd like to make it sticky. I tried many ways but nothing works.
Further, preferably, I'd like to do the same in zsh, so that by "jexec 1 zsh" could have that path set. How can I do that?
Thanks!
setenv PATH "/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin:/root/.cargo/bin"
after going into the jail by "jexec 1", it would work. However, I'd like to make it sticky. I tried many ways but nothing works.
Further, preferably, I'd like to do the same in zsh, so that by "jexec 1 zsh" could have that path set. How can I do that?
Thanks!