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

Use of python2 to obtain current user #5

Closed grahampugh closed 2 years ago

grahampugh commented 2 years ago

Hi Laurent! Your own Search-Scripts-In-Jamf script would flag this script for using python2 to obtain the current user :)

A simple switch to the common scutil method will sort that.

laurentpertois commented 2 years ago

Hi Graham,

Fair point! I'll make the change quickly! Thanks for pointing it 😊

laurentpertois commented 2 years ago

And voilà, fixed!