[sudo-users] #include & #include_dir not working for me in 1.7.2p1

Todd C. Miller Todd.Miller at courtesan.com
Fri Jun 4 17:28:38 EDT 2010


In message <OFE7449835.99EC8DD7-ON87257738.007042E0-85257738.0070A86E at us.ibm.co
m>
	so spake Ken Germann (germann):

> Here is the snipped of the sudoers file:
> 
> #includedir /etc/sudoers.d
> Host_Alias TVLDEV=wdw92,tvldata2,wdwsun06,wdwsun09,wdwsun10,wdwsun11,\
>            tvlsbr3,tvlwsn1,wdwsun56,wdwsun57,wdwsun58,wdwsun59,wdwsun50,\
>            wdwsun51
> 
> Here is the error I get when I try to run sudo:
> 
> sudo: parse error in /usr/local/etc/sudoers near line 7
> sudo: no valid sudoers sources found, quitting

Are there valid sudoers files in /etc/sudoers.d or is it empty?
Sudo would throw a parse error about an empty include dir in 1.7.2p1
(this was fixed in 1.7.2p2).

 - todd



More information about the sudo-users mailing list