• Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Man Pages

    For those learning OS X or other Unixy based systems, and for those who have been using them for decades, man is one of the most important commands in our arsenal. The man command is short for manual and shows us how to use each command that has a man page, or a page that acts as an instruction manual for the command (or method). Another command, apropos, searches the whatis database for objects that match a string, or entry. For example, if you’d like to see a listing of all man pages that reference the word case, use the following command: apropos case Or use whatis in the place…

  • Mac OS X,  Mac Security

    Core Dumps in Mac OS X

    Every now and then, OS X has to drop some kids off at the pool. Usually it’s some developer that didn’t build a sanity check for every-single-possible-flippin’-thing-you-might-think-to-do-to-his/her-poor-flippin’-app-OMGYFI! And then, suddenly, out of nowhere, you get crap all over the system. Actually, as expected, Apple’s dumps are pretty well sequestered in the /cores directory. Each core file has a number appended behind it. For example, core.9901. When applications crash, they can save a lot of information about the state when they crashed into these files. For example, I have seen  cached passwords in there… To disable core dumps, add the following line to /etc/sysctl.conf: kern.coredump=0 After a restart core dumps will…

  • Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    What Changed On My Mac?

    According to Wikipedia, fsevents is an API from Apple that allows applications to register for notifications of changes to a given directory tree. This means that when something changes, an application (or daemon/agent) can see the change and take action or track what happened. For Linux, there’s a similar tool in iNotify. This time of the year, a lot of imaging and packaging is going on at schools and companies around the world. A lot of people are also moving various settings out of images and into either post-flight packages, automations or managed preferences of some sort. In OS X, it’s easy to make a change on a computer and…

  • Mac OS X Server

    Migrating the Wiki Service in Mac OS X Server

    Lion brings with it a few challenges for administrators. One such is migrating the wiki service into the new format. When doing an upgrade in place, the Wiki service is pretty straight forward to upgrade, but in many cases, due to aging hardware, wiki services are moving from an older computer to a newer computer. This can be done in one of two ways. The first is to “migrate” the data by copying the Collaboration folder onto the new system. The second is to “export” and “import” the data. I usually recommend doing a migrate where possible, so we’ll start with that method. Note: Before getting started, make sure that…

  • Articles and Books,  personal,  sites

    2,000 Posts And Going Strong

    In December of 2004, in response to a request from my publisher at the time, I started this site in its current form. I kept the domain from my personal tinkeration site, which was a glorified file service, some static html pages for me to remember things (I can be a bit forgetful at times) and some .htaccess files to keep parts of the site private. I’d been using the domain for awhile, but started tinkering around with a few blogging engines and eventually settled on the one I’m using now. The total number of posts now sits a little over 2020, with a few being drafts on upcoming products…

  • iPhone,  Mass Deployment

    Apple Configurator 1.1 Released

    Apple Configurator 1.1 was released on Monday. Configurator is updated through the App Store. It comes with a few new features, indicated on the App Store download page. My favorite part is probably that rather than let me do stupid things (which I am apt to do) I now get a screen warning me that I’m doing something stupid if Configurator doesn’t complete a sanity check against one of the profiles: Overall, the two updates that we’ve gotten to Configurator have been minor. The features and options, which make up the strategies that you deploy Configurator with, have remained pretty much the same. I look forward to seeing continued updates.

  • Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    A Cheat Sheet For Using pf in OS X Lion and Up

    I’ve done plenty of writing on the Application Layer Firewall (ALF) and the IP FireWall (IPFW) in OS X over the years. There will be more on ALF coming in “July” but in the meantime, there’s something I hadn’t written much about in Lion and that’s the pf implementation. To get started, let’s look at the /etc/pf.conf configuration file that comprises pf: scrub-anchor "com.apple/*" nat-anchor "com.apple/*" rdr-anchor "com.apple/*" dummynet-anchor "com.apple/*" anchor "com.apple/*" load anchor "com.apple" from "/etc/pf.anchors/com.apple" Here, you can see that pf is configured with a number of anchors. An anchor is a collection of rules and tables. Basically, the anchor file being loaded is /etc/pf.anchors/com.apple. In here, we…

  • Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Troubleshooting Mac OS X Kernels w/ dmesg

    The first thing that loads in OS X is the kernel. The kernel is how users interface with hardware and sets the stage for interaction by probing for each driver that needs to be loaded and tracking what is found. The presence of everything about the system is tracked when the kernel loads as well as pertinent boot parameters. Even if you’re booting in verbose mode, most of this probably happens too fast to notice. You might be able to pause it, but you’re still trying to react to things too quickly in many cases. That’s where the dmesg command comes into play, which lets you review and control the…

  • Football,  Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment,  Time Machine

    2012 Penn State MacAdmins Conference

    Don’t let the theft of the Paternoville sign fool ya’, State College is as safe as ever. That is, until a bunch of Mac guys descend on the Nittany Lion Shrine. Yes, it’s that time of the year again when Mac guys from around the world (and yes, all of the speakers are male) descend upon Pennsylvania State University from throughout the Big 10 and beyond to discuss the Penn State mascot, the Nittany Lion. Actually, it’s a mountain lion, so we can’t discuss it quite yet at that point, but we can talk about a slightly bigger cat: Lion. Lion deployment, scripted tools, Munki, InstaDMG, Puppet, migrations, “postPC,” PSU…