Great Circle Associates Majordomo-Users
(October 2000)
 

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

Subject: Re: MajorCOOL error : "shlock: '/usr/majordomo' is not writable by UID 99 GID 99 ..
From: Dan Liston <dliston @ netscape . com>
Organization: iPlanet E-Commerce Solutions, A Sun Netscape Alliance
Date: Sun, 08 Oct 2000 00:40:21 -0500
To: Bill Houle <bhoule @ n2 . net>
Cc: majordomo-users @ GreatCircle . COM
References: <200010062206.PAA05520@ravel.n2.net>

Bill Houle wrote:
> 
> > What happens with majorcool if it is installed to run as the same
> > user and group as majordomo?  Whouldn't this save tons of headaches?
> 
> Good question. Answer: it already does.
> 
> Keep in mind that MajorCool is just a bunch of Perl scripts. There
> is no compiled code. In addition, there is no reliance on suidperl.
> So how are permissions enforced? Simple: the sole purpose of the
> CGI program (placed in the /cgi-bin directory) is to invoke the
> workhorse Perl program (placed in the Majordomo $bindir) VIA THE
> MAJORDOMO WRAPPER PROGRAM.
> 
> Thus, MajorCool only works as well as Majordomo itself. There are
> (unfortunately) several ways to make Majordomo work without having
> the permissions setup exactly as the designers originally intended.
> We often see "Majordomo is working fine, but MajorCool is broken".
> Is this because MajorCool permissions are wrong? No, it probably
> means that Majordomo is working, just not quite as perfectly as it
> could be.
> 
> Things like MajorCool and stepped-up sendmail security tend to
> point out the minor little flaws in Majordomo installations that
> otherwise might go unheeded. Treat the disease, not the symptoms.
> Always look at the setuid "wrapper" program and the permissions
> on the Majordomo tree as a first approach to problem solving.
> 
> --bill

It sounds as if someone is a little touchy (defensive) of majorcool.

The original question to the list was (still) in the subject of this
message.  User 99 was "nobody" not "majordomo".  In this case, it 
does not matter what cgi is running, if it is not majordomo (or root), 
it can't write to the majordomo owned files.  This does not indicate 
a poorly installed majordomo, but a misconfigured cgi.

Dan Liston



Follow-Ups:
Indexed By Date Previous: Re: sleeping majordomo
From: Dan Liston <dliston@netscape.com>
Next: Problem with not getting mail from MD
From: Alden & Cali Hackmann <hurdy@silverlink.net>
Indexed By Thread Previous: more details on dead major
From: Kirk Bailey <idiot1@netzero.net>
Next: Re: MajorCOOL error : "shlock: '/usr/majordomo' is not writable by UID 99 GID 99 ..
From: Bill Houle <bhoule@n2.net>

Google
 
Search Internet Search www.greatcircle.com