jamf / MakeMeAnAdmin

Provides temporary admin access for a standard user via Jamf Self Service
255 stars 65 forks source link

Fix Log Collection and Execution Order #6

Open pirkla opened 4 years ago

pirkla commented 4 years ago

Change order of secondary script to only stop the daemon after the script has finished. Previously the daemon was unloaded prior to removing the daemon's plist and collecting the logs which stopped script execution prematurely.

1

samuel-harvey commented 4 years ago

Hey! I'm testing this now. Can you confirm that it is able to remove admin rights? I'm getting the admin rights elevation but after my timer goes off the user is still admin.

Thanks for your work! :) 👍 edit: i'm activating the policy as the user via self-service / also could I be having an issue due to permissions/slack of PPPC config?