• Mac OS X Server

    List All Groups With NetInfo from 10.3

    The nireport command can be used to list all of the groups in a NetInfo structure. To use nireport, you will need to specify the domain and a directory (in that order). Optionally, you can also specify a timeout for the query (-T) and whether or not the domain should be treated as tagged (-t). So if your NetInfo domain were local then the following would show all of the groups in a 10.3 Server-based Open Directory: nireport . /groups The equivalent in 10.4 and up would then be: dscl . -list /Groups Or for users: dscl . -list /Users To then show all of the users in a group…

  • Mac OS X

    Serializing New Mother Boards

    When you purchase a new Apple computer, it always comes preloaded with a serial number. In order to add that serial number when you do a replacement of a mother board, you can use a tool from Apple’s GSX called Blank Board Serializer.

  • Xsan

    Planning For Xsan

    Note: This article is now out of date. While the Apple Xserve RAID is still found in legacy installations, it has been replaced by the Promise RAID for new installations. The most typical storage found in Xsan setups is the Apple XRAID. Any XRAID will work within an Xsan deployment. XRAID systems being used in an Xsan should have the maximum amount of RAM available, which is 512MB. The Apple XRAID comes with 14 drive modules. Drive modules in an XRAID are split into two channels, each with 7 modules. Drive modules are just UltraATA or SATA enclosures for the Hard Drives used in an XRAID. XRAIDs are available in…

  • Mac OS X,  Ubuntu,  Unix

    FTP Command Line and Automation

    The ftp command that runs on a Mac is similar to that from any other platform, including Windows – and not much has changed with regard to FTP for a long, long time. When using FTP you will login to an FTP server, then issue some commands, one of which will kill your session to the host. The commands you issue during an FTP session are issued in an interactive mode of the shell, where you are actually running them against the target server ls – list the contents of a directory on the FTP server cd – change the working directory on the FTP server pwd – show the…

  • Xsan

    Xsan: cvgather

    cvgather is a command in Xsan, located in the /Library/FileSystems/Xsan/bin folder that allows you to “gather”up all the relevant configuration information for your Xsan environment and save them into a compressed file.  Use it, love it, even script around it as it could get you out of some serious issues if you find yourself in them.