From owner-freebsd-hackers Thu Jul 11 4: 3:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D214737B400 for ; Thu, 11 Jul 2002 04:03:11 -0700 (PDT) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4783443E3B for ; Thu, 11 Jul 2002 04:03:11 -0700 (PDT) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 2973E3ABB4D; Thu, 11 Jul 2002 13:03:56 +0200 (CEST) Date: Thu, 11 Jul 2002 13:03:56 +0200 From: Pawel Jakub Dawidek To: freebsd-hackers@freebsd.org Subject: Re: No suid crontab(1). Message-ID: <20020711110356.GK12920@garage.freebsd.pl> References: <20020711105214.GJ12920@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <20020711105214.GJ12920@garage.freebsd.pl> X-PGP-Key-URL: http://garage.freebsd.pl/jules.pgp X-OS: FreeBSD 4.6-STABLE i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I forgot, that should be always an empty file "root" in /var/cron/tabs and files of all users if we don't want to gives attacker their rights. But I think the best way is to change cron(8) that it will be check file owner. -- Pawel Jakub Dawidek UNIX Systems Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message