On Wed, 2005-07-20 at 11:06 -0700, Mark Knecht wrote:
> On 7/20/05, Richard Fish <[EMAIL PROTECTED]> wrote:
> > Mark Knecht wrote:
> > 
> > >Hi,
> > >   I'm trying to get my mythfrontend box to allow a user to shut the
> > >machine down without the use of a keyboard. We are only using remote
> > >controls. suso doesn't seem to be an option because it requires a
> > >password. (AFAICT)
> > >
> > >   Is there some other way that I could make this work?
> > 
> > 2 options:
> > 
> > 1. Sudo can be setup to allow some commands to be run without a
> > password.  I think this entry in /etc/sudoers should work:
> > 
> > mythtv ALL = NOPASSWD: /sbin/shutdown
> 
> Yes, I have this working. My problem with this solution was slightly
> deeper. To get MythTV to execute this command I have to put 'sudo
> shutdown -h now' in a setup screen within the setup portion of
> mythfrontend. In a general sense I don't know how to do that without a
> keyboard being attached to the machine. So far I haven't found where
> MythTV stores this information so that I could edit it from an ssh
> login.

even so, I think this is your best path to follow.  Surely you can find
out where mythfrontend stores these files.  I don't have mythtv
installed, but I would try, in order, the mythtv website / google; and
then "grep -ri" (brute force approach!) starting from /etc.

HTH,
-- 
Iain Buchanan <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list

Reply via email to