Thank you, thank you, thank you, Erica!
Now, click the Arguments tab. Click + under “Arguments Passed On Launch” and type $(SRCROOT)/ followed by the name of the Python file you created in Step 4.
Thank you, thank you, thank you, Erica!
Now, click the Arguments tab. Click + under “Arguments Passed On Launch” and type $(SRCROOT)/ followed by the name of the Python file you created in Step 4.
Background: I’ll start by saying we have a rather large AD with over a million users. #humblebrag I had a ticket escalated to me that was quite odd. A user had logged into their Mac, but a nu…
Source: Reversing the AD Plugin UID algorithm | Tips and Tricks from a Mac Admin
Head unbanged:
By default, if a recipe override does not have any trust info stored (or you attempt to run a shared recipe without an override), it will run after printing a brief warning. autopkg run MakeCatalogs.munki Processing MakeCatalogs.munki… WARNING: MakeCatalogs.munki is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding… You can make AutoPkg refuse to run shared recipes that do not have any trust info by setting FAIL_RECIPES_WITHOUT_TRUST_INFO. You can do that in AutoPkg’s prefer
Source: AutoPkg and recipe parent trust info · autopkg/autopkg Wiki
So useful –
python-macadmin-tools – List of open-source Python-based Mac sysadmin tools
Source: GitHub – timsutton/python-macadmin-tools: List of open-source Python-based Mac sysadmin tools
Thank you, thank you, thank you, Alan! If you’re looking for a quick set of tips on how to get up to speed using Python for macOS administration, this is super helpful for playing with plists:
If you follow the examples in the documentation, though, you may run into some errors.For example, if you paste in the code on how to generate a .plist (even if you import datetime, plistlib, and time), you’ll get an error ofNameError: name ‘fileName’ is not definedand then if you actually define fileName with the past to a file, you’ll getNameError: name ‘dump’ is not definedNow I get that probably dump needs to be imported from some other module, but seriously in documentation you need to have code that people can copy and paste and see the results of and tweak, instead of having code that’s basically useless.
Source: How to read from and write to .plist files using Python – St. Ignatius College Prep Tech Blog
/usr/bin/defaults write /Library/Preferences/com.apple.loginwindow.plist StartupDelay -int 30
“Perspectives” within organizations usually translates to “interests” – as in, the selfish interests of sales & marketing vs. devops vs….
But Apple says… But Microsoft says… But Google says… I hear this all the time. And the very first thing I often ask is Who at Apple, Microsoft, Google, or whatever vendor says that? The reason I ask “who” is often because you can get conflicting responses from a vendor for a given question. Why’s that?…
Did this writer not think to ask why MitM tech was allowed before?
Source: Microsoft bans adware that use man-in-the-middle techniques
Source: Center for Public Integrity