Tag Archives: Macintosh

Mac – JAMF manual agent installation

Sometimes, (in my case when using DEP enrollment on a slow wifi connection) the Jamf agent doesn’t get installed properly during DEP enrollment. To fix that here is what I did: I first ran the following commands to manually download … Continue reading

Posted in Labs, Software | Tagged , , | Comments Off on Mac – JAMF manual agent installation

MacOS – Add Active Domain group to local mac group

In testing, we found that remote connections from windows clients to the built-in macOS VNC server were not encrypted in any way. To resolve this we decided to use RealVNC as the screen sharing server on Macs. Also, since we … Continue reading

Posted in Articles, Labs | Tagged , , | Comments Off on MacOS – Add Active Domain group to local mac group

MacOS – Disabling Sleep option from Finder menu

We find that if people manually sleep a mac running Mojave (10.14.5) from the Finder menu that mac is then nearly impossible to wake up. So, at least on lecterns, I am using this command to disable the sleep menu … Continue reading

Posted in Labs | Tagged , | Comments Off on MacOS – Disabling Sleep option from Finder menu

MacOS – Script – Getting the logged in user

loggedInUser=$( scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ && ! /loginwindow/ { print $3 }' ) For more details see: https://scriptingosx.com/2019/09/get-current-user-in-shell-scripts-on-macos/

Posted in Labs | Tagged , , | Comments Off on MacOS – Script – Getting the logged in user

Mac – Installing Spartan ’18 from JAMF

To install Spartan ’18 with a network license server correctly as a push from Jamf: 1) First create a package that installs the Spartan ’18 application to the /Applications folder and push that from Jamf 2) Create a script (example … Continue reading

Posted in Labs, Software | Tagged , | Comments Off on Mac – Installing Spartan ’18 from JAMF

Mac – Use PMSET for Sleep timers and Power Management

On the Mac there are a number of ways to control the sleep timers.  Some seem to work better than others.  For Mojave (MacOS 10.14.x) I have switched to using the command peset. peset -g      shows a list … Continue reading

Posted in Labs | Tagged , , | Comments Off on Mac – Use PMSET for Sleep timers and Power Management

Mac OS – SIP or System Integrity Protection

SIP (System Integrity Protection) isn’t a bad thing. It actually protects your mac from a whole host of otherwise nasty infections. However, it can sometimes get in the way of doing important mac management tasks. To disable SIP: Boot the … Continue reading

Posted in Labs | Tagged , | Comments Off on Mac OS – SIP or System Integrity Protection

Mac OS – Kernel Extensions

In 2018 Apple introduced secure kernel extensions to their MacOS. Earlier applications could install kernel extensions without the user knowing or specifically being required to “approve” that extension. Think of kernel extensions like drivers and other very deep operating system … Continue reading

Posted in Labs, Software | Tagged , | Comments Off on Mac OS – Kernel Extensions

MacOS – Create a Virtual from a fully loaded Mac

Virtuals are useful for so many things. I often use them to have a clean OS on which to test the installation of various software applications with an extremely fast and reliable way to revert back to the clean OS … Continue reading

Posted in Articles, Software | Tagged , | Comments Off on MacOS – Create a Virtual from a fully loaded Mac