Re: Cronjob and sudo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Feb 12, 2015 at 12:32:12PM -0600, Matt wrote:
> 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.

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

-- 
Matthew Miller
<mattdm@xxxxxxxxxxxxxxxxx>
Fedora Project Leader
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux