[sudo-users] #includedir gives parse error
Niall Downie
niall.downie at aspectcapital.com
Thu Oct 29 11:10:45 EDT 2009
Todd
Thanks for the help here.
Its the #includedir Im having a problem with, not #include.
These are my recent results:
1.
#include /etc/sudoers.d/niall.conf
## #includedir /etc/sudoers.d
Syntax parsed OK
Sudo works
2.
# include /etc/sudoers.d/niall.conf
#includedir /etc/sudoers.d
# visudo -c -f /etc/sudoers
parse error in /etc/sudoers near line 10 (includedir is line 11)
3.
# include /etc/sudoers.d/niall.conf
#includedir "/etc/sudoers.d"
Syntax parsed OK
Sudo FAILS to read niall.conf
Ta
Niall
-----Original Message-----
From: Todd C. Miller [mailto:Todd.Miller at courtesan.com]
Sent: 29 October 2009 14:20
To: Niall Downie
Cc: sudo-users at sudo.ws
Subject: Re: [sudo-users] #includedir gives parse error
Looks like a bug. For a workaround try:
#include "/etc/sudoers.d/repo.conf"
- todd
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