Category Archives: Mac OS X

Mac OS X Mac OS X Server Mac Security Mass Deployment

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

Mac OS X Mac OS X Server Mac Security

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: http://krypted.com/guides/comprehensive-list-of-mac-os-x-error-codes/

Mac OS X Ubuntu Unix WordPress

Resolve InnoDB Errors In MySQL

Database won’t start? InnoDB errors are a pain. Where was krypted for a month? Did everything finally get to me and I gave up blogging? No, the site ended up having some problems with corruption in some rows of the InnoDB tables. But, I was able to get the site back up by putting the database into recovery mode. How did I do this? It’s pretty straight forward. Open my.cnf and paste these lines in there:

innodb_force_recovery=3
innodb_purge_threads=0

Once the corruption is resolved, bring up empty databases and import your mysqldump into the new databases and link your site back up. But, the InnoDB force recovery puts the database into recovery mode, which is read only. So I wasn’t actually able to use the site, just look at it. At least the content was available, right? When MySQL isn’t writeable, you can’t log in as an admin, etc. The rest is one of the bigger pains I’ve encountered that didn’t result in an all nighter at a customer. I’ll write that up when I have time some day. In the meantime, next time someone changes my root password and breaks my backup scripts so I can’t just bring in a mysqldump, I’m breaking their arms. You’ve been warned.

iPhone Mac OS X Mac OS X Server Mac Security Mass Deployment

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

Mac OS X Programming Unix

Mac DevOps Conference

There’s another new conference in town! Well, not my town, but Vancouver. MacDev Ops is a hot topic. One that will only increase in the coming years. Thanks to Mat X and Brian Warsing for bringing about a brilliant conference.

Screen Shot 2015-03-23 at 10.43.50 PM

The conference will be held on June 19, 2015 and is an easy $99 if you sign up soon. Also, submit a talk if DevOps is your thing. They’re looking to bring the following topics to the table:

  • Puppet, Chef and other automation from Desktop to Cloud and back
  • Software deployment with Munki and AutoPkg: the app ecosystem surrounding it
  • Cool tools: demo of awesome Mac Admin projects from GitHub
  • DevOps: How to adopt Automation and Best practices in IT operations
  • Dev skills: workshops on Ruby, Git, Python, Javascript for Mac Admins
  • MDM: Profiles and Mac configuration management in the cloud

This is sure to be a good one. Check it out here!

certifications iPhone Mac OS X Microsoft Exchange Server

New Microsoft Office for Mac and iOS Accreditation via MacTech

I recently got the announcement of the new official Microsoft Office Accreditation through MacTech. I was lucky enough to sit in on the previous version of this, so thought I’d push out the information on it. It’s attached to the MacTech Pro Events that MacTech has been running:

MacTech_Pro_Events-150

As you know, Microsoft released a public preview of Office 2016 for Mac. MacTech and Microsoft have created a new accreditation for Apple techs called “Microsoft Office for Mac and iOS Accredited Support Professional, 2015.” Prior to the public Office 2016 announcement, we did a preview of this new course under NDA in Seattle earlier this month.

We’re now announcing the new accreditation — which covers not only Office for Mac (2011 and 2016), but also Office for iOS and Office 365. In short, anyone that supports others using Microsoft Offie on OS X or iOS should get attend and get this accreditation.

If you’re interested, check it out here http://pro.mactech.com/microsoft-office-accreditation/

PS – You can actually hear Neal’s voice when you read it! 😉

Bushel Interviewing Mac OS X Mac OS X Server Mac Security

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!

Mac OS X Mac OS X Server Mac Security

X World: See You At The Sydney Mac Conference

I’ll be doing a couple of presentations in Sydney on July 9th and 10th at X World. Judging from the sessions in past years, it looks to be a great time that’s sure to make you smarter!

Screen Shot 2015-03-16 at 10.56.06 AM

If you’re able, check it out at http://auc.edu.au/xworld/about/.

Bushel iPhone Mac OS X Mac OS X Server

Learning iOS Security Now Available for Pre-Orders

Boom. 3 books in about 6 months. The next, and likely last for a few months at least, book is finally ready. Written with Allister Banks, Learning iOS Security is a look into iOS Security for those coming to the Apple platform. It’s meant for business, enterprise, infosec.

Unknown

 

The first chapter, as I’ve done in a few previous books, was written as a quick and dirty “oh, this is all you’re gonna’ read, cool” type of thing. In security, 90 percent (or more) of the work is done in the first 10 percent of the time. I have this theory (unproven) that each percent represents a j curve in cost increase and when you hit 99, each .1 continues, then each.01, etc. No one can be truly secure.

Also, as I’ve done in the past, the final chapter looks at a few forensics options and tools. Allister was the best coauthor I’ve had to date. This was his book that I was brought in on. I didn’t have to do any of his work, and he held the chapters to a higher standard than the publisher. Truly, this is his book, I just contributed. Either way, Packt was great again and I hope you enjoy what we’ve done!

Mac OS X Mac OS X Server Mac Security Mass Deployment

Take Control Of OS X Server (Yosemite) Now Available

I’ve been light on posting here, mostly because I’ve been swamped with work, selling my old house, buying a new house, doing some crazy taxes, wrapping production on a new book and updating the Take Control of OS X Server book to Yosemite Server. Well, earlier this week I sold my house, got the next version of Bushel ready to rock and filed my taxes. Aaaaannnnnndddddd, the Yosemite version of Take Control Of OS X Server is now available at http://tid.bl.it/1xuCJUC.

Screen Shot 2015-02-05 at 2.24.54 PM

Boom. Will get back to my normally scheduled postings shortly!