Re: use pssh to restart a service

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



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@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