A
Anonymouse
Guest
Ich versuche gerade die Ausführung von cronjobs bzw. die Nuztung von crontab für normale User zu unterbinden.
In der manpage von Debian Jessie (Testing) steht bei crontab hierzu:
If the cron.allow file exists, then you must be listed therein in order to be allowed to use this command. If the cron.allow file does not exist but the cron.deny file does exist, then you must not be listed in the cron.deny file in order to use this command. If neither of these files exists, only the super user will be allowed to use this command.
Ich habe Folgendes versucht:
touch /etc/cron.allow
chmod 600 /etc/cron.allow
(Kein Inhalt)
Und:
touch /etc/cron.allow
chmod 600 /etc/cron.allow
awk -F: '{print $1}' /etc/passwd | grep -v root > /etc/cron.deny
Egal welche Variante. User können noch immer crontab -e bzw. crontab -l usw. nutzen, um sich neue crons anzulegen.
Hat jemand eine Idee?
In der manpage von Debian Jessie (Testing) steht bei crontab hierzu:
If the cron.allow file exists, then you must be listed therein in order to be allowed to use this command. If the cron.allow file does not exist but the cron.deny file does exist, then you must not be listed in the cron.deny file in order to use this command. If neither of these files exists, only the super user will be allowed to use this command.
Ich habe Folgendes versucht:
touch /etc/cron.allow
chmod 600 /etc/cron.allow
(Kein Inhalt)
Und:
touch /etc/cron.allow
chmod 600 /etc/cron.allow
awk -F: '{print $1}' /etc/passwd | grep -v root > /etc/cron.deny
Egal welche Variante. User können noch immer crontab -e bzw. crontab -l usw. nutzen, um sich neue crons anzulegen.
Hat jemand eine Idee?