[sudo-users] #includedir gives parse error

Niall Downie niall.downie at aspectcapital.com
Thu Oct 29 07:12:56 EDT 2009



Ive just built 1.7.2p1 on CentOS5.1 with no issues. I gave no extra
configure options, accepting all defaults.

I have done this so I can use the #includedir config. However, I can't
get it working.


Here is my config:


# sudo -V|head

Sudo version 1.7.2p1


# find /etc/sudoers* -ls

1090745   12 -r--r-----   1 root     root         5691 Oct 28 15:29

1474644    8 drwxr-xr-x   2 root     root         4096 Oct 28 15:29

1474621    8 -r--r-----   1 root     root           57 Oct 28 15:24


/etc/sudoers, includes:

#includedir /etc/sudoers.d


# sudo -l

sudo: parse error in /etc/sudoers near line 10

sudo: no valid sudoers sources found, quitting


This all works just fine when I change the #includedir to just #include
the second file:


/etc/sudoers, includes:

#include /etc/sudoers.d/repo.conf


Cant find any similar problems, no bugs, no config options to switch
includedir on.

Any ideas ?




Niall Downie


This email and any attachments contain CONFIDENTIAL information which may be legally privileged. If this 
communication constitutes a financial promotion, it is directed only at persons who are professional clients or 
eligible counterparties (as defined under the FSA rules).  The information, which is provided on a non-reliance 
basis, may be subject to verification or amendment.  No representation or warranty is made as to its accuracy or 
completeness. Unless expressly stated otherwise, this email is neither an offer to sell nor a solicitation of any 
offer to buy an interest in any fund or other investment vehicle sponsored or managed by Aspect Capital Limited 
(Aspect Funds). Any such offer or solicitation would be made only by way of the final offering documents of such 
Aspect Fund (which should be considered carefully before any investment decision is made) and only in such 
jurisdictions where, and to such persons to whom, it would be lawful to do so. Past performance is not necessarily 
indicative of future returns. Email transmission cannot be guaranteed to be secure or error free.  Subject to 
applicable law, Aspect (or its service providers) may intercept, monitor, review and retain e-communications 
travelling through its networks/systems. By messaging with Aspect you consent to the foregoing.  Aspect Capital 
Limited is authorised and regulated by the Financial Services Authority and is registered in England and Wales 
(No. 3491169) with registered office at Nations House, 103 Wigmore Street, London W1U 1QS.  For more information, 
go to www.aspectcapital.com.

More information about the sudo-users mailing list