From owner-freebsd-isp Mon Sep 18 18:11:12 2000 Delivered-To: freebsd-isp@freebsd.org Received: from cliff.i-plus.net (cliff.i-plus.net [209.100.20.42]) by hub.freebsd.org (Postfix) with ESMTP id 18E5A37B43C for ; Mon, 18 Sep 2000 18:11:09 -0700 (PDT) Received: from abyss (abyss.dashit.net [209.100.22.250]) by cliff.i-plus.net (Postfix) with SMTP id 1D05C41AD; Mon, 18 Sep 2000 21:11:09 -0400 (EDT) From: "Troy Settle" To: "Mike" , Subject: RE: quickie Date: Mon, 18 Sep 2000 21:11:50 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <4.3.2.7.2.20000918203334.0f70e7d0@mail.mikesweb.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm not a perl expert, but I believe it's easy enough for perl to assume a new UID to get this done. Or, if the job doesn't need to run as root, you can run it from the users' own crontab entries. -- Troy Settle Pulaski Networks 540.994.4254 ** -----Original Message----- ** From: owner-freebsd-isp@FreeBSD.ORG ** [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Mike ** Sent: Monday, September 18, 2000 8:39 PM ** To: freebsd-isp@FreeBSD.ORG ** Subject: quickie ** ** ** I need to generate nightly log files for each user on a box, ** and place each ** log in a directory in the users home dir. I am wondering ** about security ** with this, as the program needs (?) to be run as root. If a ** user where to ** place a symlink in that directory, when root went to write ** to it, well, you ** get my point.. Is there a clean way to put these logs in ** their directories ** as (suid) owner of the dir.. ** Thanks ** Mike ** ** ** ** To Unsubscribe: send mail to majordomo@FreeBSD.org ** with "unsubscribe freebsd-isp" in the body of the message ** ** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message