You can redirect a log file into a given directory. That directory, if it has other stuff in it, can get out of control. So, here, we’re going to remove all files except that file using the find command: find * ! -name jamf.log -type f -delete Once run, the jamf.log is the last file left in the directory.
-
-
Remove All Apps From The Dock In OS X
Remove all app icons from the Dock in OS X: defaults write com.apple.dock persistent-apps -array
-
Bushel Features Supported In iOS 7
We have some devices that we support that are running iOS 7. But iOS 7 is old and so we can’t support every option on the platform. So what should you expect to be supported on iOS 7? Find Out Which MDM Features Are Supported By Bushel In iOS 7 At The Bushel Blog
-
Use scp To Connect To A Remote Mac And Copy A File
Use scp to connect to a remote host and copy a file. To do so, use the -E option, followed by the source file, in this case the path for that file is ~/elcap.dmg. Then do the username followed by a : and then the password. Those credentials are then being used on the server defined by the @ symbol and then the fqdn of the host, all together here being krypted:mrrobot@imaging.krypted.com where krypted is the username, mrrobot is the password and imaging.krypted.com is the hostname of the target box running ssh. Then just list the path and filename of the target. In this case, it would be /Users/krypted/Desktop/elcap.dmg: scp…
-
Mavericks Server: Enable APNS Debug Logging
Troubleshooting push notification communications between OS X Server and Apple’s Push Notification can be a challenge. Especially with Profile Manager. One great tip I’ve learned over the years is that the APNS daemon, apsd, has a debug mode. To enable APNS debug logging, run these commands: defaults write /Library/Preferences/com.apple.apsd APSLogLevel -int 7 defaults write /Library/Preferences/com.apple.apsd APSWriteLogs -bool TRUE killall apsd Then use tail -f to watch the apsd.log file at /Library/Logs/apsd.log. Be wary, as this can fill up your system. So to disable, use these commands: defaults write /Library/Preferences/com.apple.apsd APSWriteLogs -bool FALSE defaults delete /Library/Preferences/com.apple.apsd APSLogLevel killall apsd
-
A Comprehensive List of OS X 10.x Error Codes
I just put a new page up based on a parsing thing I was working on the other night. Basically, it lists the error codes in OS X 10.x by type. Enjoy: https://krypted.com//guides/comprehensive-list-of-mac-os-x-error-codes/
-
Make Bushel’s Open Enrollment URL Easier To Use
Many choose a pretty long company name when signing up for Bushel. The Open Enrollment link is generated based on the shortened version of this company name. This link can then be supplied to your users to make it quick and easy for them to enroll (or add) devices into your Bushel. Some end up with a company name that’s difficult to tell others or difficult for others to type. Many of our customers would also like a link on their site that customers can be pointed to. There are a few ways of achieving shorter, easier, or custom links. We’ll go through two, but there are a lot of other strategies you…
-
Use Verbose Logging With Profile Manager
Verbose logging can help you isolate a number of problems with Profile Manager. Turn on verbose logging by writing a debugOutput key with a value of 3 into /Library/Preferences/com.apple.ProfileManager.plist using the defaults command: defaults write /Library/Preferences/com.apple.ProfileManager debugOutput 3 Once set, restart the daemon using killall: killall -u _devicemgr To disable, just write the key with a blank value: defaults delete /Library/Preferences/com.apple.ProfileManager debugOutput Then restart the daemon again: killall -u _devicemgr
-
Use Bushel To Reset An Apple Device
The ability to erase a device can be a life saver for a company. If a phone is lost or stolen, erasing confidential data can help you feel at ease. Here is how to erase an iOS or Mac device in Bushel. How to erase a device with Bushel.
-
Part 1: Interviewing Pepijn Bruienne
I count myself very lucky that I got to interview Pepijn Bruienne, who interviewed me some time ago. Both, on the AFP548 podcast. Here’s the first part of me interviewing Pepijn!