cvs commit: src/etc/pam.d Makefile cron src/usr.sbin/cron/cron
Makefile cron.8 cron.h database.c do_command.c
src/usr.sbin/cron/lib Makefile entry.c
Yar Tikhiy
yar at comp.chem.msu.su
Mon Jun 18 09:18:33 UTC 2007
On Sun, Jun 17, 2007 at 06:42:40PM +0100, Robert Watson wrote:
>
> On Sun, 17 Jun 2007, Yar Tikhiy wrote:
>
> > Add PAM support to cron(8). Now cron(8) will skip commands scheduled
> > by unavailable accounts, e.g., those locked, expired, not allowed in at
> > the moment by nologin(5), or whatever, depending on cron's pam.conf(5).
> > This applies to personal crontabs only, /etc/crontab is unaffected.
> >
> > In other words, now the account management policy will apply to
> > commands scheduled by users via crontab(1) so that a user can no
> > longer use cron(8) to set up a delayed backdoor and run commands
> > during periods when the admin doesn't want him to.
>
> Nice work. Have you looked at doing something similar for .forward files
> in Sendmail?
Not yet. What is Sendmail supposed to do with user's mail
if the account is unavailable for running mail filters, assume
a temporary failure or just file mail to the default mailbox?
--
Yar
More information about the cvs-src
mailing list