Is there a way you can write a bash script to bring up a Jamf helper option with 2 buttons? OK and Cancel.
With OK continuing on with the script and then logging out.
But if the user clicks cancel it would actually cancel the logout and put them back to the desktop?