NetBSD/usr.sbin/cron
christos c2b5bf99ef PR/15142: Kevin P. Neal: cron does not pay attention to login_cap(3)
I simplified the patch addressed certain security concerns. I only
allowed setusercontext() to set resource limits/priority and umask,
because these are the values that are relevant from login.conf. The
rest of the settings (uid/gid/initgroups) should be done using e->uid
and e->gid like they were before, not from:

	struct passwd *pwd = getpwnam(getenv("LOGNAME"));

Finally login_cap's (path/env) are irrelevant in this context since
we want to use our e->envp anyway to execute the command.
2003-03-14 21:56:07 +00:00
..
compat.c
compat.h Unifdef __STDC__. 2002-07-14 09:59:23 +00:00
config.h
cron.8 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
cron.c Implement CRON_TZ and CRON_WITHIN to provide finer control over job 2002-04-25 14:45:05 +00:00
cron.h
crontab.1 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
crontab.5 Implement CRON_TZ and CRON_WITHIN to provide finer control over job 2002-04-25 14:45:05 +00:00
crontab.c use strlcpy 2002-11-16 04:34:13 +00:00
database.c use strlcpy 2002-11-16 04:34:13 +00:00
do_command.c PR/15142: Kevin P. Neal: cron does not pay attention to login_cap(3) 2003-03-14 21:56:07 +00:00
entry.c When @hourly is specified, set not just 23 but bit 0 through 22 also in 2000-09-13 04:07:34 +00:00
env.c
externs.h
job.c Implement CRON_TZ and CRON_WITHIN to provide finer control over job 2002-04-25 14:45:05 +00:00
Makefile PR/15142: Kevin P. Neal: cron does not pay attention to login_cap(3) 2003-03-14 21:56:07 +00:00
misc.c
pathnames.h
popen.c license clarification, from openbsd 2002-10-02 06:47:48 +00:00
user.c