XTERM isn't installed on the server which I am guessing is why it fails. Just not sure why when I run the commands directly in the command line it works, but when I enter it in BigFix it is failing.
The Bigfix agent is running as a session less instance so it wont have any access to environment variables or login shells. Maybe that’s the difference?
I got it to work by using the script @JasonWalker provided but adding sudo in front of the 2 commands in the script and the 2 wait commands.
3 Likes