[mythtv-users] fail to shut down

Daryl McDonald darylangela at gmail.com
Tue Sep 2 23:19:44 UTC 2014


On Tue, Sep 2, 2014 at 2:57 PM, Jonatan Lindblad <mythtv at comhem.se> wrote:

> On 2014-09-02 14:21, Daryl McDonald wrote:
>
>> On Tue, Sep 2, 2014 at 1:35 AM, Michael Watson <
>> michael at thewatsonfamily.id.au <mailto: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.
>>
>> 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
>>
>
> It is safer to use visudo to edit sudoers files since it performs sanity
> checks, and checks for parse errors.
>
> Unless you provide any arguments the /etc/sudoers file will be edited, but
> you can use -f to specify an alternate location:
>
> sudo visudo -f /etc/sudoers.d/mythtv
>
> --
> Jonatan
>
>
> _______________________________________________
> 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
>

OK, so "vi" is simply another text editor like "gedit"?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140902/05bc070a/attachment.html>


More information about the mythtv-users mailing list