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
config.h
cron.8
cron.c
cron.h
crontab.1
crontab.5
crontab.c
database.c
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
env.c
externs.h
job.c
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
user.c