Skip to main content
Question

Changing which bash scripts are using

  • March 26, 2023
  • 0 replies
  • 2 views

Forum|alt.badge.img+4
  • Contributor
  • 18 replies

Hello all, I am trying to change which bash is used in scripts but having no success.

I tried changing the shebang to:

#!/usr/bin/env bash
and changing the path to start with the folder of the correct path, but I still get the normal bash.
I tried exporting that path on a lot of places to make sure root uses that path first.
I even tried to change the shebang directly to the new bash path, did nothing.
 
Is there a setting in Jamf that changes that? Or am I missing something?
Thanks

0 replies

Be the first to reply!