[gull] Le crontab sous RedHat ne marche plus
Leopoldo Ghielmetti
leopoldo.ghielmetti at a3.epfl.ch
Thu Nov 30 15:07:17 CET 2006
Une information en plus qui pourrait vous mettre sur la voie. J'ai
comparé les deux rpm (une ancienne version que j'ai et qui marche avec
la nouvelle qui ne marche pas) et j'ai la chose suivante:
Ancienne:
/etc/cron.d
/etc/rc.d/init.d/crond
/usr/bin/crontab
/usr/sbin/crond
/usr/share/man/man1/crontab.1.gz
/usr/share/man/man5/crontab.5.gz
/usr/share/man/man8/cron.8.gz
/usr/share/man/man8/crond.8.gz
/var/spool/cron
Nouvelle:
/etc/cron.d
/etc/pam.d/crond
/etc/rc.d/init.d/crond
/etc/sysconfig/crond
/usr/bin/crontab
/usr/sbin/crond
/usr/share/man/man1/crontab.1.gz
/usr/share/man/man5/crontab.5.gz
/usr/share/man/man8/cron.8.gz
/usr/share/man/man8/crond.8.gz
/var/spool/cron
Comme on peut le voir les seuls fichiers qui ont changé ce sont:
/etc/pam.d/crond
/etc/sysconfig/crond
Qui contiennent la chose suivante:
[root at ews05 root]# cat /etc/pam.d/crond
#
# The PAM configuration file for the cron daemon
#
#
auth sufficient pam_rootok.so
auth required pam_stack.so service=system-auth
auth required pam_env.so
account required pam_stack.so service=system-auth
session required pam_limits.so
[root at ews05 root]# cat /etc/sysconfig/crond
# Settings for the CRON daemon.
# CRONDARGS= : any extra command-line startup arguments for crond
# CRON_VALIDATE_MAILRCPTS=1:a non-empty value of this variable will
# enable vixie-cron-4.1's validation of
# mail recipient names, which would then be
# restricted to contain only the chars
# from this tr(1) set : [@!:%-_.,:alnum:]
# otherwise mailing is not attempted.
CRONDARGS=""
Donc rien de bien particulier.
ciao, Leo
More information about the gull
mailing list