[mythtv-users] RE: Xbox 'Shutdown' feature broken

John P. Mitchell john at cepros.com
Sun May 29 01:27:49 UTC 2005


AJM,

1. Switch to the root user from the command line like so:
su -
2. Find halt:
which halt
-or-
find / -name "halt"
2. Long list the file (guessing on the path):
ls -la /sbin/halt
3. Set the permissions as appropriate:
chmod +s /sbin/halt

> The user running Myth on the Xbox by default is not 'root' so a
> permission issue makes sense.
>
> How can I make that change or verify that it needs to be changed? Can
> that be done from the command line?
>
> AJM,
>
>
> On 5/28/05, John Stubbs <john_stubbs at hotmail.com> wrote:
>> >I'm running Xebian on my Xbox frontend running Myth .18 and when
>> >exiting the front end the option exists to shutdown the Xbox but that
>> >feature doesn't work for me.
>> >
>> >Is there a fix for that feature or a permission setting that needs to
>> >be changed?
>>
>> It's a permission problem- make sure whatever user you run myth as
>> (probably
>> 'live') can shutdown the machine from the command line- I think myth
>> uses
>> the 'halt' command by default, so that needs to work.
>>
>> You could use sudo to allow it to work, or, more insecure is just "chmod
>> +s
>> /sbin/halt" or something to that effect (as root).
>>
>> John Stubbs
>>
>>
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>>
>>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>



More information about the mythtv-users mailing list