[mythtv-users] Shutdown / Restart Frontend

Bill Meek keemllib at gmail.com
Sat Dec 13 02:29:55 UTC 2014


On 12/12/2014 08:04 PM, Michael Stucky wrote:
...
 > Make sure that the user that runs the mythfrontend has permission to
> execute reboot/shutdown. You will probably need to add a line like this to
> /etc/suders:
>
>   mythtv ALL = NOPASSWD: /sbin/reboot, /sbin/halt, /sbin/shutdown
>
> This assumes that "mythtv" is the user that runs mythfrontend. And the
> proper way to edit /etc/suders is:
>
> sudo visudo

If the line: #includedir /etc/sudoers.d appears in /etc/sudoers, then,
as I just posted, put the changes in /etc/sudoers.d/mythtv (which may
already be there.) Both ways work, sudoers.d is preferred.

-- 
Bill


More information about the mythtv-users mailing list