BESClient Unix changes environment variables

It’s because BESClient is not running in a Login Shell so it doesn’t process many of Root’s dot_files.

Try

 Wait /bin/sh --login -c "whatever command"

No need for sudo, it’s already root.

2 Likes