<p dir="ltr"><br>
On Sep 3, 2014 12:11 AM, "Mark Perkins" <<a href="mailto:perkins1724@hotmail.com">perkins1724@hotmail.com</a>> wrote:<br>
><br>
><br>
><br>
> On 3 Sep 2014, at 2:36 am, "Daryl McDonald" <<a href="mailto:darylangela@gmail.com">darylangela@gmail.com</a>> wrote:<br>
><br>
>><br>
>> On Sep 2, 2014 8:21 AM, "Daryl McDonald" <<a href="mailto:darylangela@gmail.com">darylangela@gmail.com</a>> wrote:<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > On Tue, Sep 2, 2014 at 1:35 AM, Michael Watson <<a href="mailto:michael@thewatsonfamily.id.au">michael@thewatsonfamily.id.au</a>> wrote:<br>
>> >><br>
>> >> On 2/09/2014 1:28 PM, Daryl McDonald wrote:<br>
>> >>><br>
>> >>> #%mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/setwakeup.sh<br>
>> >><br>
>> >> The line is commented out. Meaning is not in effect.<br>
>> >><br>
>> >><br>
>> >> _______________________________________________<br>
>> >> mythtv-users mailing list<br>
>> >> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
>> >> <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
>> >> <a href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
>> >> MythTV Forums: <a href="https://forum.mythtv.org">https://forum.mythtv.org</a><br>
>> >><br>
>> > <br>
>> > daryl@daryl-A780L3C:~$ cd /media/daryl/10b4bdaf-d0f0-4f4d-b003-8049f075c12a<br>
>> > daryl@daryl-A780L3C:/media/daryl/10b4bdaf-d0f0-4f4d-b003-8049f075c12a$ sudo cat etc/sudoers.d/mythtv<br>
>> > %mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/setwakeup.sh<br>
>> > daryl@daryl-A780L3C:/media/daryl/10b4bdaf-d0f0-4f4d-b003-8049f075c12a$ ls -l etc/sudoers.d/mythtv<br>
>> > -r--r----- 1 root root 62 Aug 10 13:57 etc/sudoers.d/mythtv<br>
>> > daryl@daryl-A780L3C:/media/daryl/10b4bdaf-d0f0-4f4d-b003-8049f075c12a$ cd ~<br>
>> > daryl@daryl-A780L3C:~$ sudo gedit /etc/sudoers.d/mythtv<br>
>> ><br>
>> > (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<br>
>> ><br>
>> > (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<br>
>> > daryl@daryl-A780L3C:~$ ls -l /etc/sudoers.d/mythtv<br>
>> > -r--r----- 1 root root 62 Sep 2 08:15 /etc/sudoers.d/mythtv<br>
>> > daryl@daryl-A780L3C:~$ sudo cat /etc/sudoers.d/mythtv<br>
>> > %mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/setwakeup.sh<br>
>> > daryl@daryl-A780L3C:~$ <br>
>> ><br>
>> > Many thanks, this looks better, now to testing, and grandkids, I'll report later.<br>
>> ><br>
>> 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.<br>
>><br>
>> _______________________________________________<br>
><br>
><br>
> So just to clarify perhaps, the significance of that leading / is it refers to the root partition. So no matter what directory you are in a reference to /usr/bin/ will always go to exactly the same place - /usr/bin/. A reference to usr/bin/ is relative to your current directory, so if you are in /home/ then it will go to /home/usr/bin/ (if it exists) or if you are in /var/ then it will go to /var/usr/bin/ or if you are in /tmp/ it will got to /tmp/usr/bin/ and so on.<br>
><br>
> _______________________________________________<br>
> mythtv-users mailing list<br>
> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
> <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
> <a href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
> MythTV Forums: <a href="https://forum.mythtv.org">https://forum.mythtv.org</a><br>
><br>
Thanks, got it.<br>
</p>