Date: Sun, 15 Dec 2002 09:13:42 -0600 From: Neil W Rickert <sendmail+rickert@sendmail.org> To: Kirk Bailey <idiot1@netzero.net> Cc: freebsd-questions <freebsd-questions@freebsd.org>, sendmail-questions <sendmail-questions@sendmail.org> Subject: Re: permissions trouble Message-ID: <28717.1039965222@euclid.cs.niu.edu> In-Reply-To: Message from Kirk Bailey <idiot1@netzero.net> of "Sun, 15 Dec 2002 01:58:57 EST." <3DFC2831.7060108@netzero.net> References: <3DFC2831.7060108@netzero.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Kirk Bailey <idiot1@netzero.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28717.1039965222>