"Dennis Lovelady" <dennis@lovelady.com> wrote:
>leya:/etc/smrsh: cp /usr/lib/majordomo-1.94.5/wrapper .
>Lo and behold, this worked. It's not what I want, but it does work. So
>I've a working model, but it's not quite like it should be. Problem must be
>in the permissions of the majordomo directory or the wrapper itself. Here's
>what I have:
>leya:/etc/smrsh: cd /usr/lib
>leya:/usr/lib: ls -ld majordomo-1.94.5/
> drwxr-x--- 5 majordom majordom 4096 Jun 2 10:08 majordomo-1.94.5/
Either give it the "o+x" permission, or put the majordomo directory
in the group of your sendmail DefaultUser. I'm using 751
permissions.
You probably also need your lists subdirectory to be accessible
by the sendmail DefaultUser (group execute access will suffice).
>leya:/usr/lib: cd majordomo-1.94.5/
>leya:/usr/lib/majordomo-1.94.5: ls -l wrapper
> -rwsr-xr-x 1 root majordom 16819 Jun 1 13:48 wrapper
>And at last I see. (I can be slow sometimes.) DefaultUser=8:12 is set in
>the sendmail.cf file. This is mail:mail, who has no permissions to the
>majordomo directory. To verify that this was the problem, I chmod 755 the
>majordomo directory, recreated my link, and it works. What is the
>recommended change to allow user/group mail (but nobody else) to execute
>wrapper? Or do I need to change the default user, and what are the
>ramifications if I do?
You can make the majordomo directory 751. Put wrapper into group
mail, and make it 510 or 710. Put your lists subdirectory in
group mail, or else give it 751 permissions.
If you don't trust "mail" as a group, create a new group and make
that the group for the sendmail DefaultUser.
-NWR
References:
|
|