Hello,
At the moment I'm facing some troubles with a script. I want to uninstall the EndPointProtector from CoSoSys.
They provide a remove script, which I want to start from a JSS script. The problem: you have to enter a pre-defined uninstall password. How could I pass this from my script to the other script?
I already tried something like this:
#The uninstall password
unpw="xxxxxx"
#This calls the EPP uninstaller script
cd /Library/CoSoSys/EndpointProtector/
echo "$unpw
" | ./remove-epp
But it didn't worked. I guess the problem is "remove-epp" is no command but an other script, so basically my script hands over the string to the launch command of the other script but not to the input method inside this remove-eps script...
Any ideas how I could solve this? It causes a lot of troubles right now for us....