[mythtv-users] Sudoers quandry
Steve Greene
sgreene59 at verizon.net
Wed Oct 7 17:55:09 UTC 2015
The weird thing is, another Mythbuntu box in my living room just seems
typewritten with substantially the same sudoers line. I wish I could get
more granular logging information regarding exactly what commands are
triggering the permissions issues.
On Oct 7, 2015 8:24 AM, "drsmith" <signal7 at gmail.com> wrote:
> In my recent experience, sudo is very strict about command line
> arguments. If they don't match exactly, it denies the sudo command. Your
> shutdown command probably needs to be `/sbin/shutdown -h now` for a halt
> situation. You would have to look up the command mythtv issues and enter
> that into your sudoers file (hint: look in /var/log/messages for the denied
> entries).
>
> Hope it helps.
>
> --Darrin
>
> ps - I replied off list because the list admins don't much care for my
> email configuration and google makes it unnecessarily difficult to reply
> any other way.
>
> On Tue, Oct 6, 2015 at 9:29 PM, Steve Greene <sgreene59 at verizon.net>
> wrote:
>
>> My new installation of Mythbuntu (a LIVA ECS X) is not letting me grant
>> elevated privileges to shutdown from the mythtv group.
>>
>> Any idea why this line in /etc/sudoers is not letting my user accounts
>> shut the box down?
>>
>> %mythtv localhost=(ALL) NOPASSWD:
>> /sbin/shutdown,/sbin/halt,/sbin/reboot,/usr/bin/setwakeup.sh,/usr/bin/mythshutdown
>>
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20151007/4e72a07d/attachment.html>
More information about the mythtv-users
mailing list