laurentpertois / Temp-Admin

Jamf script to give admin privilges for a few minutes, remove them to the user and other accounts
30 stars 5 forks source link

Update tempAdmin.sh #3

Open ecanault opened 5 years ago

ecanault commented 5 years ago

Hi!

Some changes to bring macOS Mojave compatibility: working with launchd instead of at.

Still working on one point (I don't understand, must be too tired...) on lines 123 & 124: removing script and launchd make the revert to standard privileges to fail :-(. That's why those lines are commented for the moment.

Regards, Manu