• Mac OS X Server,  Mass Deployment

    Add Services to Server Admin From the Command Line

    In the Server Admin application, you need to enable any services before you can actually start them. In order to do so to a lot of servers at once, you want to automate that. Such automation can be done using the serveradmin command line options. The settings would be sent to info. To see all of the settings available there: serveradmin settings info Note that there’s a whole section for info:serviceConfig: info:serviceConfig:roles:com.apple.SimpleServerSetup.ODPlugin:configured = yes info:serviceConfig:services:com.apple.ServerAdmin.DirectoryServices:configured = yes info:serviceConfig:services:com.apple.ServerAdmin.NetBoot:configured = no info:serviceConfig:services:com.apple.ServerAdmin.AddressBook:configured = yes info:serviceConfig:services:com.apple.ServerAdmin.SWUpdate:configured = yes info:serviceConfig:services:com.apple.ServerAdmin.NAT:configured = no info:serviceConfig:services:com.apple.ServerAdmin.Mail:configured = no info:serviceConfig:services:com.apple.ServerAdmin.Notification:configured = yes info:serviceConfig:services:com.apple.ServerAdmin.VPN:configured = yes info:serviceConfig:services:com.apple.ServerAdmin.DHCP:configured = no info:serviceConfig:services:com.apple.ServerAdmin.Calendar:configured = yes info:serviceConfig:services:com.apple.ServerAdmin.AppleFile:configured = yes info:serviceConfig:services:com.apple.ServerAdmin.Jabber:configured = yes…

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

    profiles -x: The Most Important New Feature In Mountain Lion!!!

    There are a lot of cool new features in Mountain Lion. But the most important finds its way to us through how you can use the profiles command. If you can believe it (moment of suspense), the profiles command now supports a -x option that allows administrators to see what version of the profiles command is being run. OMGOMGOMGPWNIESOMGOMGOMG!!! profiles -x Since the profiles command appeared in Lion, the rev in Mountain Lion would arguably 2.0. Actually, if you check your output it’s 2.00!!! There ya’ go. Value, baby. That’s what Mountain Lion is all aboot! Other than that, the commands are about the same as when I wrote about…

  • iPhone,  Mac OS X,  Mass Deployment

    JAMF Nation User Conference 2012

    JAMF has announced the 2012 rendition of their National User Conference. Having been to two of these, I can say that if you use any JAMF products that it is a great event to attend. It is a lot of very specific information about integrating, mass deploying, mass managing, mass document distributing and mass 3rd partying for Apple products. The National User Conference will be held October 23-25 2012, 8:00 am – 5:00 pm in beautiful Minneapolis, Minnesota (where all the cool kids live). The venue is one of the best conference spots I’ve seen in the Guthrie theater, overlooking the stone arch bridge. In previous years, there have been announcements,…

  • Mass Deployment,  Windows Server,  Windows XP

    Powershell Goodies From Vexasoft

    There are a number of features that make mass deployment of Mac OS X pretty easy. Some of these would be great to have in Windows. These range from systemconfiguration to networksetup and the ability to look at packages that have been installed and review their bills of material. Well, the good people at Vexasoft have built a number of Powershell libraries that, while they aren’t named as such, do a number of the features that these commands do, just for Windows clients via Powershell. And the best part is, a number of them are free. Let’s look at what some of these commands do: First, there are the cmdlets…

  • 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…

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

    The App Store Element Inspector

    I had been trying to work on a command line interface for the App Store for awhile. I learned a lot while doing so, but was never actually able to do more than associate AppleIDs here and there. One of the things I was able to use during my attempts (other than a disassembler) was the Element Inspector for the App Store. The Element Inspector allows you to view the raw source code of the pages being displayed in the App Store. This thing could be pretty handy if you were interested in embedding aspects of the App Store in other items, such as apps or a command line tool…

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

    How To Gain About Half An Inch In Safari

    No, this isn’t spam about some weird pump imported from Botswana (although if you need one, just let me know and I’ll grab some messages from my spam filter in Google Apps for ya’). Instead, we’re talking about getting rid of two icons in imaging that can recoup about a half an inch from the Safari bookmarks bar. I’m talking about the reading list and the top sites icons: To disable the reading glasses and the grid from here, use the defaults command and write an empty payload into the ProxiesInBookmarksBar key in com.apple.Safari, as follows: defaults write com.apple.Safari ProxiesInBookmarksBar '()' Or to just disable one of them, write the…

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

    Limiting The Number of Windows Users in Lion Server (aka How-to of hidden serveradmin settings)

    Lion Server doesn’t have an option in the GUI for throttling the maximum number of users that can connect to the server via SMB. Nor does it have said option in the  serveradmin interface. If you run the following, you would have previously seen the required setting: serveradmin settings smb The required setting (if controlled via serveradmin) is MaxClients= followed by the number of clients that you want to be the max: serveradmin settings smb:MaxClients=10 This is pretty easy stuff, but I have a point that goes beyond limiting the number of users. Not all of the settings that can be run through serveradmin are actually in the preferences any…

  • Mac OS X Server,  Mass Deployment

    Allow Diskless NetBoot From the Command Line

    Client systems don’t have to have drives. Nor should they, in certain circumstances. Therefore, diskless NetBoot has been a part of OS X since the early beginnings. And it’s great provided you have the Server Admin application handy. But if you want to enable/control diskless NetBoot without Server Admin then you’re going to need to use the command line. Each of your NetBoot images will be stored in an array, which can be seen by running the serveradmin command, along with the settings option and then the net boot service, as follows: serveradmin settings netboot Locate the netBootImagesRecordsArray, which shows the images that are served up on the server. Find…

  • Mass Deployment

    Deploying and Managing Firefox Part 2: Working with Munki

    A special thanks to Nick McSpadden for his third submission to krypted.com. With all the new changes in OS X/Server I haven’t even had time to write as many in such a span!!! This is a follow up post to the Firefox Management guide. Knowing how to use the CCK to manage Firefox, the next big question is: how do we get this into Munki? It’s unfortunately not as cut and paste as we’d hope, because, with all things, Firefox tends to make us do a bit of work to get what we want from it. Importing Firefox 10.0.10 ESR (current version as of writing time) into Munki is easy. You…