• iPhone,  JAMF

    Using Managed App Config with Jamf Pro

    Hey look, there’s a new category on the Jamf Marketplace, available at https://marketplace.jamf.com/apps/#category=AppConfig,selecting the AppConfig category. The new AppConfig category gives administrators of any MDM that supports AppConfig access to a set of apps that support AppConfig. If you have an app that isn’t listed here, feel free to let me know. What does this mean? Well, AppConfig is a way of sending data into an app. App config allows a customer to deploy settings into applications on iOS devices in much the same way that settings can be sent into a Mac app via the defaults command. This means an end user could get an app installed on their device…

  • Mac OS X,  Mac OS X Server,  Ubuntu

    Simple XPath options with Jamf Pro

    Given the increased reliance on XML in scripts and exchanging data, a number of different solutions leverage XML traversal options to get all the things done. We frequently use path to bring a file into a script or program, or accept input from STDIN. The most basic task that we then perform is simply selecting an item from that file or STDIN and then variabalizing it. One common tool that we use here is Path. XPath calls these objects nodes, and uses path expressions to select these nodes. A path expression is the path along the xml input that is followed to find a piece of data. There are some…

  • Apple TV,  Mac OS X,  Mac OS X Server,  Mac Security

    The AppleTV Software Update Feed

    AppleTVs automatically update. They do so using a process similar to how iOS updates, but instead of looking at the feed I posted in https://krypted.com//mac-security/how-the-os-x-caching-server-caches-updates/, they look at http://mesu.apple.com/assets/tv/com_apple_MobileAsset_SoftwareUpdate/com_apple_MobileAsset_SoftwareUpdate.xml. The AppleTV feed is similar to that available for iOS updates, with each dictionary having roughly the same data: <key>ActualMinimumSystemPartition</key> <integer>1482</integer> <key>Build</key> <string>13Y6234</string> <key>InstallationSize</key> <string>0</string> <key>MinimumSystemPartition</key> <integer>1534</integer> <key>OSVersion</key> <string>9.2</string> <key>ReleaseType</key> <string>Beta</string> <key>SUDocumentationID</key> <string>PreRelease</string> <key>SUInstallTonightEnabled</key> <true/> <key>SUMultiPassEnabled</key> <true/> <key>SUProductSystemName</key> <string>iOS</string> <key>SUPublisher</key> <string>Apple Inc.</string> <key>SupportedDeviceModels</key> <array> <string>J42dAP</string> </array> <key>SupportedDevices</key> <array> <string>AppleTV5,3</string> </array> <key>SystemPartitionPadding</key> <dict> <key>1024</key> <integer>1280</integer> <key>128</key> <integer>1280</integer> <key>16</key> <integer>160</integer> <key>256</key> <integer>1280</integer> <key>32</key> <integer>320</integer> <key>512</key> <integer>1280</integer> <key>64</key> <integer>640</integer> <key>768</key> <integer>1280</integer> <key>8</key> <integer>80</integer> </dict> <key>_CompressionAlgorithm</key> <string>zip</string> <key>_DownloadSize</key> <integer>856434408</integer> <key>_EventRecordingServiceURL</key> <string>https://xp.apple.com/report</string> <key>_IsZipStreamable</key> <true/> <key>_Measurement</key> <data>cm8k41In38EOJEj20IwJp5Suskw=</data>…

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

    New iOS 9 Payloads

    There are some new restriction payloads in iOS 9. These include the following: allowNews Boolean Supervised only. If set to false, disables News. Defaults to true. Availability: Available in iOS 9.0 and later. forceAirDropUnmanaged Boolean Optional. If set to true, causes AirDrop to be considered an unmanaged drop target. Defaults to false. Availability: Available in iOS 9.0 and later. allowUIAppInstallation Boolean Supervised only. When false, the App Store is disabled and its icon is removed from the Home screen. However, users may continue to use Host apps (iTunes, Configurator) to install or update their apps. Defaults to true. Availability: Available in iOS 9.0 and later. allowScreenShot Boolean Optional. If set to false, users can’t save a screenshot of the display…

  • Mac OS X Server

    Obtain Information About OS X Server Using serverinfo in Mavericks Server

    OS X Mavericks Server (Server 3) comes with the /usr/sbin/serverinfo command (introduced in Mountain Lion Server). The serverinfo command is useful when programmatically obtaining information about the very basic state of an Apple Server. The first option indicates whether the Server app has been downloaded from the app store, which is the –software option: serverinfo --software When used, this option reports the following if the Server.app can be found: This system has server software installed. Or if the software cannot be found, the following is indicated: This system does NOT have server software installed. The –productname option determines the name of the software app: serverinfo --productname If you change the…

  • Mac OS X,  Mac Security,  Mass Deployment

    More Information About DHCP Leases in OS X

    You can obtain a pretty decent amount of information about leases your OS X computer gets just by looking in the Network System Preference pane, for each interface. However, you can get a little lot more information, as with most things, from the command line. First, we’re going to take a look at en0 on our host and see what the MAC address is: ifconfig en0 ether Now, we can look in the /var/db/dhcpclient/leases directory to see a list of all of the leases we have running on our system. Based on the MAC address of our computer, we should see a file there that starts with the name of…

  • Mac OS X Server

    Server Admin Web Modules, curl & You

    Since the early days, OS X Server has supported performing the serveradmin commands through a web interface. This interface was accessible at the address of the server followed by a colon and then 311 in a web browser. This feature was disabled by default in Mountain Lion. But fear causes hesitation, and hesitation will cause your worst fears to come true, so we’re going to turn it back on. To enable, use the following command: sudo defaults write /Library/Preferences/com.apple.servermgrd requireUserAgent -bool false Once done, open https://127.0.0.1:311 in a web browser, or replace 127.0.0.1 with the address of the server if accessing from another location. This is stimulating, but we’re out of…