[CentOS] use pssh to restart a service

Mon Nov 2 16:04:40 UTC 2015
Tim Dunphy <bluethundr at gmail.com>

>
> This is why it is paramount to use visudo command as opposed editing the
> /etc/sudoers file directly!  The visudo command will check the edited
> temporary sudoers file syntax before committing to /etc!


Ok! Makes sense! I'll make sure I do that from now on!

Thanks!!

Tim

On Mon, Nov 2, 2015 at 5:25 AM, Anthony K <akcentos at anroet.com> wrote:

> On 02/11/15 12:35, Tim Dunphy wrote:
>
>> Hey Gordon,
>>
>>   Sorry, man my bad! Disabling the tty requirement for my sudo user does
>> indeed work. I had a type-o in the sudoers file, and when I corrected it,
>> my sudo command via pssh started working!
>>
>> This is why it is paramount to use visudo command as opposed editing the
> /etc/sudoers file directly!  The visudo command will check the edited
> temporary sudoers file syntax before committing to /etc!
>
> ak.
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B