Great Circle Associates Majordomo-Workers
(June 2001)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Fw: majordomo/smrsh/"Service unavailable" problem
From: Neil W Rickert <rickert+mj @ cs . niu . edu>
Date: Sat, 02 Jun 2001 09:55:06 -0500
To: "Dennis Lovelady" <dennis @ lovelady . com>
Cc: majordomo-workers @ greatcircle . com
In-reply-to: Message from "Dennis Lovelady" <dennis@lovelady.com> of "Sat, 02 Jun 2001 10:36:57 EDT." <01e101c0eb71$79efbbc0$0100a8c0@chewient>
References: <014a01c0eaee$0a899a40$0100a8c0@chewient> <24091.991450631@euclid.cs.niu.edu> <019001c0eb1a$761f3e50$0100a8c0@chewient> <24708.991457592@euclid.cs.niu.edu> <01e101c0eb71$79efbbc0$0100a8c0@chewient>

"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:
Indexed By Date Previous: Re: Fw: majordomo/smrsh/"Service unavailable" problem
From: "Dennis Lovelady" <dennis@lovelady.com>
Next: Majordomo 2 questions
From: Thomas Gramstad <thomas@ifi.uio.no>
Indexed By Thread Previous: Re: Fw: majordomo/smrsh/"Service unavailable" problem
From: "Dennis Lovelady" <dennis@lovelady.com>
Next: Majordomo 2 questions
From: Thomas Gramstad <thomas@ifi.uio.no>

Google
 
Search Internet Search www.greatcircle.com