Re: use pssh to restart a service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 10/31/2015 02:04 PM, Tim Dunphy wrote:
pssh -h es_list   "/bin/sudo -S /bin/systemctl restart elasticsearch"

The default configuration prohibits use if input echo can't be disabled. That means no "-S".

I modify that for users where necessary:

/etc/sudoers.d/myuser:
    Defaults:myuser    !requiretty, visiblepw


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux