Home Forums Software InstaDMG setting DVD region code

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #374512
    pteeter
    Participant

    I found this old thread…

    [url]https://www.afp548.com/forum/viewtopic.php?forum=29&showtopic=9668&highlight=region%20code[/url]

    Anyone have any further ideas on how best to preset the DVD Region Code for use with InstaDMG?

    I haven’t even investigated it yet. I will, I will.

    Just wondering if anyone has already looked into it.

    #374518
    pteeter
    Participant

    OK, I believe you. Though research turns up some fun firmware hacks to make an optical drive region free. 😈

    So the section of /etc/authorization would be (in Leopard):
    [code]
    system.device.dvd.setregion.initial

    class
    user
    comment
    Used by the DVD player to set the region code the first time. Note that changing the region code after it has been set requires a different right (system.device.dvd.setregion.change).
    group
    admin
    shared

    [/code]
    So to work around this for non-admin users, change the class to ‘allow’ and lose the ‘group’ and ‘shared’ keys?

    Anyone got suggestions for editing this – payload free + postflight script? Or maybe best practice is to copy in a pre-built file?

    #374531
    Patrick Fergus
    Participant

    pteeter,

    I [i]think[/i] I’m doing this with a payload free package, but it’s at work and I’m not. This turned up from a Google search, so YMMV:

    [url]http://jeffstrauss.com/?p=54[/url][code]#!/bin/sh
    “$3″/usr/libexec/PlistBuddy -c “Set :rights:system.device.dvd.setregion.initial:class allow” “$3″/etc/authorization[/code]Tomorow I’ll double-check what I’m actually doing.

    – Patrick

    #374532
    pteeter
    Participant

    You plistbuddy stalwarts.

    /usr/libexec/PlistBuddy it is.

    Good call.

    #374534
    Patrick Fergus
    Participant

    Yep–that’s what we’re doing with our build.

    FWIW I’m more comfortable with defaults, but defaults won’t touch anything beyond the simplest plists.

    – Patrick

    #374634
    mleacy
    Participant

    Somewhat off-topic, but does anyone know where to find a list of the valid keys?

    I’d love to get some granular control and pick and choose what non-admins can do.

    #374639
    Patrick Fergus
    Participant

    This article has some information:

    [url]https://www.afp548.com/article.php?story=20041027093216241[/url]

    However, we’d love a lot more granularity as well.

    – Patrick

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

Comments are closed