Re: Setting DVD Drive Region
Re: Setting DVD Drive Region
- Subject: Re: Setting DVD Drive Region
- From: Tommy Nordgren <email@hidden>
- Date: Mon, 19 Sep 2005 22:18:45 +0200
Sep 19, 2005 kl. 9:36 PM skrev Jeff LaMarche:
On Sep 19, 2005, at 2:58 PM, Glenn Blauvelt wrote:
I've looked at the DVD Playback Services Reference and had hoped that
DVDSetDriveRegionCode might be what I need but I can't seem to get it
to work. Does anyone know if a) the region code can be set without a
disk in the drive and b) if so, what the easy way is to do it?
Looks like you're on the right track - DVDSetDriveRegionCode should
do it, but unfortunately, this is an action that requires
authentication. There's almost no safe way to do what you want
without requiring at least the typing of an admin password
manually. =(
This is one of the downsides of the security afforded by Mac OS X.
You don't want just anyone to be able to be able to change hardware
settings on your machines, but it does get in the way of something
like this.
_______________________________________________
It IS possible to do the following in a shell script, run from
an admin account:
echo password | sudo command ...
(piping the password into sudo) This will print a warning about the
password coming from a pipe
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden