JAMF – Force quickadd enroll on macOS 10.13
https://server.domain.com/enroll?type=QuickAdd
It's all in the Mac magic…
https://swscan.apple.com/content/catalogs/others/index-10.14beta-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz
You don’t really need all that much code: IFS=$’\n’ sorted=($(sort <<<"${array[*]}")) unset IFS Supports whitespace in elements (as long as it’s not […]
Terminal numbering convention The terminal numberings found on a relay body are taken from DIN 72552 which is a German automotive industry […]
osascript -e ‘tell application "System Events" to set picture of (reference to current desktop) to "/Users/dsadmin/Desktop/nettools/.background_10134.jpg"’ or if you need variables osascript […]
sudo defaults write /Library/Preferences/com.apple.security.appsandbox UnrestrictSpotlightContainerScope -bool true
The following method, removes the last character from a bash variable by using a regular expression that matches any character. VAR=${VAR%?} The […]
If you have ever needed to know what a netmask looks like expressed in some other format this table of equivalents should […]
1) use jamfsoftware; (if we used different db name please use it instead of ‘jamfsoftware’) truncate table jss_server_url; truncate table signing_certificates; truncate […]
Recently I became aware that you can open Terminal (and Console) from the macOS Setup Assistant via keyboard shortcuts. When you are […]
Since macOS is based on Unix there are a number of ways to compress files and folders within the filing system using Unix […]
true or false makes the file hidden or not sudo osascript -e ‘tell application "Finder" to set extension hidden of alias "Macintosh […]
If you use a LoginWindow configuration profile make sure under Access the checkbox “Local-only users may log in” is checked. I unchecked […]
The solution was to enter the host webui and Go to Host > Manage > Swap . Activate swap on a datastore […]
Loading and Unloading Daemon/Agents In 10.9 and older, if you wanted to load launchagent the command would look like: launchctl load /Library/LaunchAgents/com.company.launchagent.plist And […]
Make a backup copy of the following file: /etc/pam.d/sudo Edit the following file using root privileges: /etc/pam.d/sudo Add the following line in […]
To repair the Open Directory authdata database: $ sudo launchctl unload /System/Library/LaunchDaemons/org.openldap.slapd.plist Now start the database recovery using the command below that […]