Kirk Bailey <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to