cron.d file names illegal?
Posted: 20 Jan 2015, 01:29
Forgive me if this is not a bug. I can't find any prior mention of it. I am running CSF on Ubuntu 14.04 and using the Webmin plugin. My concern is about the two files that CSF's install-dot-sh placed in /etc/cron.d, i.e. csfcron-dot-sh and lfdcron-dot-sh. According to the MAN page, these files aren't supposed to have any "." (dots) in the name. I mention it because I've had plenty of issues with this and it struck me as odd to see these.
From the cron MAN page section on cron.d:
Note: I apologize for lack of reference URL and all the -dot- nonsense, but the forum won't let me post links
From the cron MAN page section on cron.d:
I don't think the same restriction exists on Red Hat/CentOS, etc. While I can't imagine you haven't already come across this, I am confused about the apparent conflict. Thanks.Files must conform to the same naming convention as used by run-parts(8): they must consist solely of upper- and lower-case letters, digits, underscores, and hyphens.
Note: I apologize for lack of reference URL and all the -dot- nonsense, but the forum won't let me post links