From owner-freebsd-questions Sun Dec 15 7:13:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F23AB37B401 for ; Sun, 15 Dec 2002 07:13:49 -0800 (PST) Received: from euclid.cs.niu.edu (euclid.cs.niu.edu [131.156.145.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D27E43EB2 for ; Sun, 15 Dec 2002 07:13:49 -0800 (PST) (envelope-from sendmail+rickert@sendmail.org) Received: from localhost (rickert@localhost [127.0.0.1]) by euclid.cs.niu.edu (8.12.7.Beta1/8.12.7.Beta1) with ESMTP id gBFFDgRt028720; Sun, 15 Dec 2002 09:13:42 -0600 (CST) To: Kirk Bailey Cc: freebsd-questions , sendmail-questions Reply-To: sendmail-questions@sendmail.org Subject: Re: permissions trouble References: <3DFC2831.7060108@netzero.net> In-Reply-To: Message from Kirk Bailey of "Sun, 15 Dec 2002 01:58:57 EST." <3DFC2831.7060108@netzero.net> Date: Sun, 15 Dec 2002 09:13:42 -0600 Message-ID: <28717.1039965222@euclid.cs.niu.edu> From: Neil W Rickert Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kirk Bailey wrote: >ok, I have an alias in /etc/mail, called aliases.tinylist; this is able to be >read by sendmail since I edited the sendmail.cf file, and it will compile it >without error. the /mail dir is owned by root, and is chmod 755. >the file aliases.tinylist is owned by nobody currently, although in certain >tests it was owned by an unpriviliged user called grumpy, and it worked. That's a security risk. The ability to add aliases should be tightly restricted. >I could issue a echo statement from the command prompt as grumpy, appending to >the file, and it worked, regardless of what the current directory was. >But when I tried to do it as grumpy running a SCRIPT (in python) it refused >permission to write to the file. odd, grumpy could do it from the command >prompt... I don't know why you think this is a sendmail problem. From your description, it would seem to be a python problem. -NWR To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message