[mythtv-users] fail to shut down

Daryl McDonald darylangela at gmail.com
Tue Sep 2 17:06:14 UTC 2014


On Sep 2, 2014 8:21 AM, "Daryl McDonald" <darylangela at gmail.com> wrote:
>
>
>
>
> On Tue, Sep 2, 2014 at 1:35 AM, Michael Watson <
michael at thewatsonfamily.id.au> wrote:
>>
>> On 2/09/2014 1:28 PM, Daryl McDonald wrote:
>>>
>>> #%mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/setwakeup.sh
>>
>> The line is commented out.  Meaning is not in effect.
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>>
>
> daryl at daryl-A780L3C:~$ cd
/media/daryl/10b4bdaf-d0f0-4f4d-b003-8049f075c12a
> daryl at daryl-A780L3C:/media/daryl/10b4bdaf-d0f0-4f4d-b003-8049f075c12a$
sudo cat etc/sudoers.d/mythtv
> %mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/setwakeup.sh
> daryl at daryl-A780L3C:/media/daryl/10b4bdaf-d0f0-4f4d-b003-8049f075c12a$ ls
-l etc/sudoers.d/mythtv
> -r--r----- 1 root root 62 Aug 10 13:57 etc/sudoers.d/mythtv
> daryl at daryl-A780L3C:/media/daryl/10b4bdaf-d0f0-4f4d-b003-8049f075c12a$ cd
~
> daryl at daryl-A780L3C:~$ sudo gedit /etc/sudoers.d/mythtv
>
> (gedit:3033): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
>
> (gedit:3033): Gtk-WARNING **: Calling Inhibit failed:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files
> daryl at daryl-A780L3C:~$ ls -l /etc/sudoers.d/mythtv
> -r--r----- 1 root root 62 Sep  2 08:15 /etc/sudoers.d/mythtv
> daryl at daryl-A780L3C:~$ sudo cat /etc/sudoers.d/mythtv
> %mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/setwakeup.sh
> daryl at daryl-A780L3C:~$
>
> Many thanks, this looks better, now to testing, and grandkids, I'll
report later.
>
The good news is that the machine shut itself down ten minutes after
implementing the above. The bad news is I'll be retesting all my Udev and
local/bin, etc. now that I understand the significance of the "/"
regardless of which directory I am in.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140902/638d598e/attachment.html>


More information about the mythtv-users mailing list