[CentOS] use pssh to restart a service

Anthony K akcentos at anroet.com
Mon Nov 2 10:25:03 UTC 2015


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.




More information about the CentOS mailing list