[mythtv-users] mythtv-setup freezes on exit
Martin Moores
moores.martin at gmail.com
Tue Nov 13 14:26:07 UTC 2012
On 11 November 2012 21:50, Bill Meek <keemllib at gmail.com> wrote:
> On 11/11/2012 08:51 AM, Martin Moores wrote:
> ...
> > ... when the authentication box popped up for starting the backend.
>
> Hi;
>
> Adding to sudoers.d/ can eliminate the authentication popup.
>
> If your backend start and stop commands as defined in backend setup look
> like:
>
> sudo stop mythtv-backend
> sudo start mythtv-backend
>
> Then the following eliminates the prompt for sudo:
>
> #
> # Local MythTV /etc/sudoers.d/mythtv file.
> #
>
> User_Alias MYTHTV_USERS = yourUserNameHere, mythtv
>
> Cmnd_Alias MYTHTV_COMMANDS = \
> /sbin/stop mythtv-backend, \
> /sbin/start mythtv-backend
>
> MYTHTV_USERS ALL=NOPASSWD: MYTHTV_COMMANDS
>
> Naturally, if your start/stop commands are different, the contents
> of the above need to be changed.
>
> Whenever I work with sudoers, I keep an extra open terminal *already*
> running sudo -s, just in case a typo/braino trashes the ability to
> use sudo.
>
> --
> Bill
>
Bill, thanks for the tip on that. I don't go into mythtv-setup often, so
it doesn't cause me great issue entering my password every now and then,
can see this being useful for other activities though.
Cheers
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121113/348f44ff/attachment.html>
More information about the mythtv-users
mailing list