Re: [ansible-project] unable to update sudoers file on RH6u5 with validate option.

2014-07-25 Thread Yasir Saleem
Mike, I am sorry, I was able to fix the problem by specify full path for visudo command. It was in '/usr/sbin/visudo' Validate part looks like below: validate='/usr/sbin/visudo -cf %s' For my RH6U5 boxes root does not have /usr/sbin in the path. I could have replied earlier, When I tried

Re: [ansible-project] unable to update sudoers file on RH6u5 with validate option.

2014-07-24 Thread Michael DeHaan
H. No such file or directory *MIGHT* be referring to visudo. Can you try explicitly pathing it? On Thu, Jul 24, 2014 at 9:05 AM, Yasir Saleem yasir...@gmail.com wrote: Hi, I am not able to change '/etc/sudoers' file successfully on RH 6.5 (Santiago) when using validate option. The