[mythtv-users] Restarting the backend from the frontend
bill.omer at gmail.com
Tue Nov 6 17:35:07 UTC 2007
On Nov 6, 2007 12:30 PM, ryan patterson <ryan.goat at gmail.com> wrote:
> On 11/6/07, Bill Omer <bill.omer at gmail.com> wrote:
> > > The problem is my user login doesn't have permission to restart
> > > I use sudo to start/stop mythbackend. If I run sudo in a script it will
> > > for the password.
> > Read the man page on sudoers and give you user tho NOPASSWD option.
> Sorry I should have specified that I wanted to do it in a secure way.
Create a user, with the only available command being the init script
for mythbackend in the suders file, with the NOPASSWD option. Create
ssh keys for paswordless login between the two hosts. That, IMHO, is
a relatively secure solution.
More information about the mythtv-users