[CentOS] Sudo #includedir function ignored CentOS 6
Tom H
tomh0665 at gmail.comTue Jul 26 00:03:57 UTC 2011
- Previous message: [CentOS] Sudo #includedir function ignored CentOS 6
- Next message: [CentOS] Sudo #includedir function ignored CentOS 6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Jul 25, 2011 at 7:41 PM, Trey Dockendorf <treydock at gmail.com> 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/bin/start_puppet > However sudo still requires a password. If I put that same line into > /etc/sudoers file , there is no password prompt. At the end of my sudoers > file I have this line > #includedir "/etc/sudoers.d" > It seems that line is being ignored. > The permissions on the file in that directory are 0440. Have you tried "zabbix ALL = NOPASSWD: /var/lib/zabbix/bin/start_puppet" (spaces before and after "=")?
- Previous message: [CentOS] Sudo #includedir function ignored CentOS 6
- Next message: [CentOS] Sudo #includedir function ignored CentOS 6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list