From owner-freebsd-hackers Tue Jan 16 21:19: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mmap.nyct.net (mmap.nyct.net [216.44.109.243]) by hub.freebsd.org (Postfix) with ESMTP id 0B1C037B400 for ; Tue, 16 Jan 2001 21:18:52 -0800 (PST) Received: by mmap.nyct.net (Postfix, from userid 1000) id 53821FAB0; Wed, 17 Jan 2001 00:18:42 -0500 (EST) Date: Wed, 17 Jan 2001 00:18:42 -0500 To: hackers@FreeBSD.org Subject: Permissions on crontab.. Message-ID: <20010117001842.A28301@mmap.nyct.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i From: mbac@mmap.nyct.net (Michael Bacarella) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Why is crontab suid root? I say to myself "To update /var/cron/tabs/ and to signal cron". Could crontab run suid 'cron'? If those are the only two things it needs to do, run cron as gid 'cron' and make /var/cron/tabs/ group writable by 'cron'. -- Michael Bacarella Technical Staff / New York Connect.Net, Ltd Daytime Phone: (212) 581-2831 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message