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 <[EMAIL PROTECTED]> 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 >> [email protected] >> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users >> >> >> > _______________________________________________ > mythtv-users mailing list > [email protected] > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > _______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
