0435c15004
Use getpwnam before getpwuid since two users with same uids can exists (affects new login classes code only) The same fixes as in inetd: by default run `system crontab things' with daemon login class now, not restrict them to user class breaking compatibility with old way (so-called nobody limits problem) Implement user[:group][/login-class] syntax in system crontab for more flexible control (the same as in inetd)
13 lines
157 B
Makefile
13 lines
157 B
Makefile
LIB= cron
|
|
|
|
SRCS= entry.c env.c misc.c
|
|
CFLAGS+=-I${.CURDIR}/../cron
|
|
CFLAGS+=-DLOGIN_CAP
|
|
NOPIC= yes
|
|
NOPROFILE= yes
|
|
|
|
install:
|
|
@echo -n
|
|
|
|
.include <bsd.lib.mk>
|