[CentOS] Cronjob and sudo

Thu Feb 12 18:58:46 UTC 2015
Matt <matt.mailinglists at gmail.com>

>> I need to remove empty files out of a directory that are over 6 hours
>> old so I created this script and put it in cron.hourly.
>
> For what it's worth, we no longer have requiretty in the package in
> Fedora, so eventually that change will probably make it down to CentOS.
> Overall, security benefit vanishingly small and inconvenience high.

https://bugzilla.redhat.com/show_bug.cgi?id=1020147#c9

Surprised its still in Centos 7 actually.

> I do think that the suggestion of using /etc/cron.d and cron's own user
> feature is better in this case, though.