• Mac Security

    Controlling Multiple launchagents and launchdaemons concurrently

    Most of my examples for launchctl have been per-user, per-agent, per-daemon. But you can also control multiple launchctl targets concurrently. One example would be that you can unload everything in the user domain by not specifying a path but providing the userid. In the following example, we’ll just use $userid as a variable, but it’s worth noting that that would be, as an example, 501 for the : sudo launchctl bootout gui/$userid There’s another option that can be used to do the opposite from within single user mode, called bootshell. Bootshell is called similarly from single user mode: sudo launchctl bootshell

  • Mac OS X

    App My CLI, for Great Good

    For those that have had the pleasure of working with certain Windows-based laptops, there may be one particularly crazy-making design choice: the radio-disable switch. To paraphrase Seinfeld, what’s up with that? It’s a ‘feature’ (ahem) not utilized often enough to remind folks they have it, nor explained properly to the customer by the manufacturer. And it can drive IT support personnel nuts, as almost nobody in their right mind turns off wireless access voluntarily… yet it still happens from time to time, causing both sides to be confused for quite some time until they employ Occam’s Razor. And there are various locations it might be on the laptops, too, depending on…

  • Mac OS X Server

    Big Changes in Lion Server

    OK, by now I’m sure everyone has heard that OS X Server is a download off the App Store. For a whoppin’ $50 you get the OS that was once called “Open Source Made Easy” until someone at Apple realized that GPLv3 might mean that Open Source doesn’t always mean “free as in beer”. Wait, did I say that out loud? Point is, there are bigger changes here than just moving the server to the App Store. There are also some pretty big changes to the GUI of OS X Server. The first and most obvious is the LoginWindow, which is different in OS X in general. It obviously looks…

  • Mac OS X,  Mac OS X Server

    Running TFTP on Mac OS X

    TFTP, or Trivial File Transfer Protocol is a protocol that can be used for quickly shuttling files about. While similar to FTP, TFTP has no username and password (in most cases) and should not be running when you do not need it. It’s still in use today for a number of appliances such as routers and switches, to get firmware and occasionally configuration files. There’s a nice little GUI utility that can be used to house a TFTP server on Mac OS X. It’s funny enough, called TFTPServer. You can obtain it at http://ww2.unime.it/flr/tftpserver. Once you have downloaded it, you can open the application and you will be placed into…

  • Active Directory,  Mac OS X Server

    New GUI Directory Services Debug Tool

    DSDebug is a small, quick little tool that just puts a server into Directory Services debug mode, waits for a specified amount of time and then drops a file on your desktop with the logs, placing the server back into a non-Directory Services debug mode. That’s all. It’s mostly designed to send to an Open Directory server’s administrator, tell them to double-click on it and not have to step anyone through typing much. It waits mostly so you can know how long it’s going to wait… Nice, small and compact. In the future I will likely build in a pattern matcher with some known, common errors, color coding, etc (or…

  • Mac OS X,  Mac OS X Server

    Multicast ASR? There's an App for that!

    It seems like playing an asr stream is still a bit of a conundrum for many people. Apple has added the ability to leverage asr streams in NetBoot images in Mac OS X Server (aka NetRestore), but no tool for actually serving up a stream. That’s why I decided to write a little app to wrap your asr and fire up a quick and dirty multicast asr stream. When you open it, it will ask you a couple of questions and let you select the dmg file that you’ll be serving up. Main points, the data rate, which you can see here. Then the multicast address that your stream will…

  • Mac OS X

    Mac OS X: Disk Inventory X

    For those that would like to see a graphical inventory of the files on your system there is Disk Inventory X.  Cool little app, although you could do something similar using the command line.  But this is a nice little GUI app that shows disk usage statistics in a tree map.   http://www.derlien.com/