I have a launch agent that points to a bash script that gets executed on login.
I have some users who like to "investigate" and I don't want them to see the script contents that the launch agent is calling to execute.
I think the user has to have read access to the script to execute it since its a launch agent...
I've heard about SHC which can convert bash scripts into executables but never used it. I know there are ways around SHC but I just want something quick that hides the contents of the script to the end user. They won't be doing any lengthy investigation.
Any advice on how I could hide the contents of the script or compile it so the end user cannot see is contents would be greatly appreciated.