It is a security risk to accept any file as input to a program that has root
privilege.
If you work around this, do so at your own risk.
Vasiliy G Tolstov wrote:
> В Птн, 04/06/2010 в 13:12 +0400, Vasiliy G Tolstov пишет:
>> How can i use * pattern in inputs?
>>
>> I do not want to specify all files in config file, rather i want to
>> inputs => { "xxx/*.cf" };
>>
>> (cfengine 3.0.4)
>>
>
> Ok. Because authors of cfengine not like * in inputs, work around:
> "soft" slist =>
> splitstring(execresult("/usr/bin/find /var/cfengine/inputs/soft/ -type f
> -and -name '*.cf'","noshell")," ",99999999);
>
>
> But my question - why not add this feature to cfengine?
>
--
Mark Burgess
-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway
Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine