NU-ITS / LAPSforMac

Local Administrator Password Solution for Mac
MIT License
139 stars 42 forks source link

Script contains invalid reference to /usr/sbin , how to fix this #12

Open akhilshaji opened 5 years ago

akhilshaji commented 5 years ago
Screenshot 2019-07-29 at 1 05 38 PM
ghost commented 5 years ago

We have adapted this solution for our environment. Since this is a Jamf policy one could delete lines 146 to 152 of the CheckBinary function (where Jamf is complaining about) since there is the call to find the Jamf binary anyway. If you would like to know where it is just echo "$jamf_binary" and you will get that in the policy log.