From owner-cvs-usrsbin Sun Nov 2 09:26:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01772 for cvs-usrsbin-outgoing; Sun, 2 Nov 1997 09:26:49 -0800 (PST) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA01631; Sun, 2 Nov 1997 09:23:20 -0800 (PST) (envelope-from ache@FreeBSD.org) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id JAA21433; Sun, 2 Nov 1997 09:22:23 -0800 (PST) Date: Sun, 2 Nov 1997 09:22:23 -0800 (PST) Message-Id: <199711021722.JAA21433@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/cron/cron Makefile cron.h do_command.c user.c src/usr.sbin/cron/crontab Makefile crontab.5 src/usr.sbin/cron/lib Makefile entry.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1997/11/02 09:22:23 PST Modified files: usr.sbin/cron/cron Makefile cron.h do_command.c user.c usr.sbin/cron/crontab Makefile crontab.5 usr.sbin/cron/lib Makefile entry.c Log: Log run-time parsing errors now 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) Revision Changes Path 1.9 +3 -2 src/usr.sbin/cron/cron/Makefile 1.8 +9 -1 src/usr.sbin/cron/cron/cron.h 1.14 +12 -4 src/usr.sbin/cron/cron/do_command.c 1.7 +10 -2 src/usr.sbin/cron/cron/user.c 1.7 +3 -0 src/usr.sbin/cron/crontab/Makefile 1.7 +4 -2 src/usr.sbin/cron/crontab/crontab.5 1.4 +2 -1 src/usr.sbin/cron/lib/Makefile 1.8 +45 -4 src/usr.sbin/cron/lib/entry.c