Date: Mon, 18 Sep 2000 21:11:50 -0400 From: "Troy Settle" <troy@psknet.com> To: "Mike" <mike@mikesweb.com>, <freebsd-isp@FreeBSD.ORG> Subject: RE: quickie Message-ID: <FCEELIAEIIECDGKKJLMICEIBCAAA.troy@psknet.com> In-Reply-To: <4.3.2.7.2.20000918203334.0f70e7d0@mail.mikesweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FCEELIAEIIECDGKKJLMICEIBCAAA.troy>