Great Circle Associates Majordomo-Users
(November 1994)
 

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

Subject: Re: Permission errors.
From: David Barr <barr @ pop . psu . edu>
Date: Thu, 10 Nov 1994 18:20:18 -0500
To: "Giraldo Hierro" <ghierro @ pixelnet . pixel . com . mx>
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: Your message of "Thu, 10 Nov 1994 16:02:59 CST." <9411102203.AA08182@pixelnet.pixel.com.mx>

In message <9411102203.AA08182@pixelnet.pixel.com.mx>, "Giraldo Hierro" writes:
>    As specified in the installation guide, wrapper's uid is set to daemon
>and it's gid is majordom. Also, I put daemon inside the majordom group in
>/etc/groups, and made sure all files are both uid read-writable and gid
>read-writable. I made a lists directory where I install lists, and made
>that u+rw and g+rw.
>
>    I still have problems, though. If any .config file inside the lists
>directory isn't read-writable by "others" (o+rw), majordomo will balk
>on such simple commands as "lists". And, when creating new lists (by
>creating a blank file with the listname), Majordomo creates a <list>.config
>file with daemon as the uid and gid, OR with a local user's uid when the
>mail request came from a local user.

You missed a critical section of the FAQ.

   If you are on a non-POSIX system, the wrapper must be both suid and
   sgid (mode 6755) to whatever you defined your majordomo user and group
   to be. It must not be setuid root!
   
   OR
   
   In a POSIX system the wrapper must be setuid root, and double-check
   that W_UID and W_GID are of the majordomo user and group. Don't set
   W_UID to be 0!

It sounds like from both your symptoms and your description that
you don't have the wrapper both suid and sgid.

This is by far the most confusing thing about Majordomo -- getting
the wrapper permissions right, and getting the directory permissions
right.  I'm going to re-organize the FAQ slightly to merge all the
permission-related problems under one question, with explicit instructions
on how things must be set.  Other questions which are a symptom of
incorrect permissions will simply refer to the "how do i set permissions
on all the Majordomo files and directories?" question.

--Dave


References:
Indexed By Date Previous: Re: digest & archive2.pl
From: Dion Vansevenant <stu2@faxon.ca>
Next: Permission errors, part 2.
From: pixelnet!ghierro@pixelnet.pixel.com.mx (Giraldo Hierro)
Indexed By Thread Previous: Permission errors.
From: "Giraldo Hierro" <ghierro@pixelnet.pixel.com.mx>
Next: "Postpone" Function?
From: Michael_Nelson <nelson@seahunt.imat.com>

Google
 
Search Internet Search www.greatcircle.com