• Mac OS X,  Mass Deployment

    What Version of Mac OS X Am I Running?

    Ever need to have a program check a file to tell you what version of Mac OS X you’re running to do a quick sanity check?  In /System/Library/CoreServices/SystemVersion.plist you’ll find a key for ProductVersion.  The value in this key is the version of Mac OS X you’re using.  Keep in mind that the path should be relative to the volume that houses the operating system.  Therefore, if you’re using a volume during imaging and you’re running a postflight or preflight script make sure you check the path relative to the operating system you’re augmenting.

  • Mac OS X

    Advanced Features of the Mac OS X Calculator

    The Calculator application in Mac OS X is pretty handy beyond the basic 10-key functions that most people use.  As with many things from Apple you can make things much more complicated than the easy to use, basic screens that Apple provides.  For example, did you know that Calculator can perform binary, hexadecimal, ASCII and Unicode conversions?  To do so, click on the View menu and select Programmer (or use Command-3 to open the view.  You can also stop carrying around that old TI-85 you’ve been using for years (to some degree) to calculate those random tangents from time to time. One of the best parts of Calculator is that…

  • Mac OS X

    Mac OS X 10.5: Screen Sharing as an Application

    I originally posted this at http://www.318.com/TechJournal Screen Sharing is a new feature in Leopard that allows you to control machines that appear in your side bar. However, you can actually open Screen Sharing and use it in a similar manner as how you use an application like Chicken of the VNC (although not with an identical feature set). The way you go about this is to create a shortcut to the Screen Sharing application bundle from the /System/Library/CoreServices/Screen Sharing.app file somewhere else, such as the Applications folder, or maybe just put it in your dock. Then you can run the following command: defaults write com.apple.ScreenSharing ShowBonjourBrowser_Debug 1 You will now…

  • Mac OS X,  Mac Security

    HOWTO: arp poisoning made easy

    So arp can display the table for name to Ethernet address resolution.  That’s pretty easy, just run arp with a -a flag and it will show you all the other systems in your arp table.  the table is managed dynamically.  But what if you wanted to set one in there statically.  Well, you could use the arp with a -s flag followed by the host name and then the ethernet address you want to assign for that host name.  If you point a host name to an invalid address then you’ve poisoned your arp cache.

  • Mac OS X,  Mac OS X Server,  Mac Security

    Mac OS X Log Analysis

    Mac OS X has a lot of options for logging data. But these options can actually cause a lot of white noise. So there are two tools that you should look at if you’re interested. The first is Splunk: http://www.splunk.com/LogAnalysis The second is Sawmill: http://www.sawmill.net