Re: [CentOS] Sudo #includedir function ignored CentOS 6

2011-08-02 Thread Trey Dockendorf
On Wed, Jul 27, 2011 at 7:39 AM, Craig White wrote: > On Tue, 2011-07-26 at 15:59 -0500, Trey Dockendorf wrote: > > Well I verified that putting the following line in /etc/sudoers works > > > > > > zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet > > > > > > However if I put it in /etc/sudoe

Re: [CentOS] Sudo #includedir function ignored CentOS 6

2011-07-27 Thread Craig White
On Tue, 2011-07-26 at 15:59 -0500, Trey Dockendorf wrote: > Well I verified that putting the following line in /etc/sudoers works > > > zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet > > > However if I put it in /etc/sudoers.d/zabbix-puppet it does not. > Exact same spacing and everythi

Re: [CentOS] Sudo #includedir function ignored CentOS 6

2011-07-26 Thread Trey Dockendorf
Well I verified that putting the following line in /etc/sudoers works zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet However if I put it in /etc/sudoers.d/zabbix-puppet it does not. Exact same spacing and everything. The file was created with Puppet , and based on these errors I'm at a l

Re: [CentOS] Sudo #includedir function ignored CentOS 6

2011-07-25 Thread John R Pierce
On 07/25/11 4:41 PM, Trey Dockendorf wrote: > I am unable to get the #includedir function to work with sudo. This > works just fine on all my CentOS 5.6 servers, but on 6 it is being > ignored. I have this line in the file /etc/sudoers.d/zabbix-puppet > > zabbix ALL=NOPASSWD: /var/lib/zabbix/bi

Re: [CentOS] Sudo #includedir function ignored CentOS 6

2011-07-25 Thread Tom H
On Mon, Jul 25, 2011 at 7:41 PM, Trey Dockendorf wrote: > > I am unable to get the #includedir function to work with sudo.  This works > just fine on all my CentOS 5.6 servers, but on 6 it is being ignored.  I > have this line in the file /etc/sudoers.d/zabbix-puppet > zabbix ALL=NOPASSWD: /var/li

Re: [CentOS] Sudo #includedir function ignored CentOS 6

2011-07-25 Thread Trey Dockendorf
Correction, seems to be broken in 5.6 as well...I also had this interesting argument with sudo... # visudo -c -f /etc/sudoers.d/zabbix-puppet >>> /etc/sudoers.d/zabbix-puppet: syntax error near line 0 <<< parse error in /etc/sudoers.d/zabbix-puppet near line 0 (((NOTE: I made absolutely no change

[CentOS] Sudo #includedir function ignored CentOS 6

2011-07-25 Thread Trey Dockendorf
I am unable to get the #includedir function to work with sudo. This works just fine on all my CentOS 5.6 servers, but on 6 it is being ignored. I have this line in the file /etc/sudoers.d/zabbix-puppet zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet However sudo still requires a password.