[kwlug-disc] best practices: running cron jobs as root?

john at netdirect.ca john at netdirect.ca
Tue Sep 22 14:02:20 EDT 2009


I use the /etc/crontab file and cron.d dirs for administrative jobs. Crontabs is for users. 

I could give you my justification but it's subtle. 
  
John Van Ostrand CTO, co-CEO
Net Direct Inc
564 Weber St. N. Unit 12
Waterloo, ON N2L 5C6
Ph: 519-883-1172 x5102
Ph: 866-883-1172 x5102
Fx: 519-883-8533


----- Original Message -----
From: "Robert P. J. Day" [rpjday at crashcourse.ca]
Sent: 09/22/2009 01:47 PM AST
To: KWLUG discussion list <kwlug-disc at kwlug.org>
Subject: [kwlug-disc] best practices:  running cron jobs as root?




  a philosophical question -- do people have any strong opinions on
running system-related cron jobs as personal "root" cron jobs?   that
is, submitting them via "crontab" while logged in as root so that
they're owned by the root account?

  personally, i've always felt that, if you're an admin and setting up
cron jobs to run on behalf of the system (backups, etc.), they should
be added to the appropriate files under /etc.  i think the root
account should be used for as little as possible.

  thoughts?

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

_______________________________________________
kwlug-disc_kwlug.org mailing list
kwlug-disc_kwlug.org at kwlug.org
http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org




More information about the kwlug-disc mailing list