Programma strano eseguito in crontab ogni 5 minuti

4 risposte [Ultimo messaggio]
Ritratto di teuzzo
teuzzo
(Junior)
Offline
Junior
Iscritto: 04/03/2005
Messaggi: 35

Controllando il log /var/log/cron/info ho notato che ogni 5 minuti viene eseguito un programma:

Jul 11 20:35:00 www CROND[20859]: (mail) CMD (/usr/bin/python -S /usr/lib/mailman/cron/gate_news)

Allora ho controllato in /var/spool/cron è c'è il file mail che contiene le seguenti righe:

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/usr/lib/mailman/cron/crontab.in installed on Wed Dec 22 18:06:33 2004)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
# At 8AM every day, mail reminders to admins as to pending requests.
# They are less likely to ignore these reminders if they're mailed
# early in the morning, but of course, this is local time... Wink
0 8 * * * /usr/bin/python -S /usr/lib/mailman/cron/checkdbs
#
# At 9AM, send notifications to disabled members that are due to be
# reminded to re-enable their accounts.
0 9 * * * /usr/bin/python -S /usr/lib/mailman/cron/disabled
#
# Noon, mail digests for lists that do periodic as well as threshhold delivery.
0 12 * * * /usr/bin/python -S /usr/lib/mailman/cron/senddigests
#
# 5 AM on the first of each month, mail out password reminders.
0 5 1 * * /usr/bin/python -S /usr/lib/mailman/cron/mailpasswds
#
# Every 5 mins, try to gate news to mail. You can comment this one out
# if you don't want to allow gating, or don't have any going on right now,
# or want to exclusively use a callback strategy instead of polling.
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/python -S /usr/lib/mailman/cron/gate_news
#
# At 3:27am every night, regenerate the gzip'd archive file. Only
# turn this on if the internal archiver is used and
# GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py
27 3 * * * /usr/bin/python -S /usr/lib/mailman/cron/nightly_gzip

Qualcuno sa dirmi cosa fa, perchè ce l'ho e se è meglio cancellarlo?

Ritratto di Pinguino
Pinguino
(Guru)
Offline
Guru
Iscritto: 14/09/2004
Messaggi: 2918

Ciao, la mia ipotesi è che tu abbia impostato un livello di sicurezza molto alto: "higher" o "paranoid" o abbia messo mano manualmente alle configurazioni di sicurezza.

I livelli di sicurezza si possono visualizzare e gestire con draksec, una comoda utility mandriviana. Prova a dargli un'occhiata e a vedere come è settato il tuo "Security Level".

Proud linux user # 372467 @ http://counter.li.org
Mandriva Cooker 2008 - Kernel 2.6.17-14mdv - KDE 3.5.7 - Gnome 2.16

Ritratto di teuzzo
teuzzo
(Junior)
Offline
Junior
Iscritto: 04/03/2005
Messaggi: 35

Il livello di sicurezza è impostato su normale.

Ritratto di Moreno
Moreno
(Guru)
Offline
Guru
Iscritto: 24/09/2004
Messaggi: 16862

Ciao

Lo script gate_news appartiene al pacchetto mailman.
<br />Summary     : The GNU Mailing List Management System<br />Description :<br />Mailman -- The GNU Mailing List Management System --<br />is a mailing list management system written mostly in<br />Python. Features:<br /><br />  o Most standard mailing list features, including:<br />     moderation, mail based commands, digests, etc...<br />  o An extensive Web interface, customizable on a per-list basis.<br />  o Web based list administration interface for *all* admin-type tasks<br />  o Automatic Web based hypermail-style archives (using pipermail or<br />    other external archiver), including provisions for private archives<br />  o Integrated mail list to newsgroup gatewaying<br />  o Integrated newsgroup to mail list gatewaying (polling-based... if you<br />     have access to the nntp server, you should be able to easily do<br />     non-polling based news-&gt;mail list gatewaying; email viega@list.org,<br />     I&#039;d like to help get that going and come up<br />     with instructions)<br />  o Smart bounce detection and correction<br />  o Integrated fast bulk mailing<br />  o Smart spam protection<br />  o Extensible logging<br />  o Multiple list owners and moderators are possible<br />  o Optional MIME-compliant digests<br />  o Nice about which machine you subscribed from if you&#039;re from the<br />        right domain<br /><br />Conditional build options:<br />    mailman uid --with uid mail<br />       mailman gid --with gid mail<br />

Ciao Ciao Moreno

Addio, e grazie per tutto il pesce.
Avatar by moonlight-dream.

Ritratto di teuzzo
teuzzo
(Junior)
Offline
Junior
Iscritto: 04/03/2005
Messaggi: 35

Risolto con

rpm -e mailman