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

Re: running things as root (was: majordomo archiving)



On Sat, 19 Apr 2003 19:41:43 +0100  "Fisayo Adeleke" wrote:
> I have a majordomo list that I use Mhornac to do the archiving. 
> However, I have setup this line in my /etc/crontab to have the 
> archive updated 10mins to top on every hour 
...
> 50 * * * * root /usr/majordomo/webarchive

Even though you already fixed your problem, you should have a closer
look as why the script runs as *root*. I don't think there is any
compelling reason why your script needs root privilege, and there's
*lots* of reasons *not* to run it as root.

You may want to set up a specific user that just has access to
the files it needs to have.

You're running a proper operating system with a proper security model;
you should have compelling reasons before you circumvent it,
and copying/indexing is probably not strong enough a reason.

Geert Jan


-----
This is the afnog mailing list, managed by Majordomo 1.94.5

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org