Great Circle Associates Majordomo-Users
(August 2000)
 

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

Subject: Re: Permissions conflict?
From: dliston @ netscape . com (Dan Liston)
Date: Fri, 11 Aug 2000 14:31:44 -0400
To: Mike Bobbitt <Mike . Bobbitt @ nortelnetworks . com>
Cc: "'majordomo-users @ GreatCircle . COM'" <majordomo-users @ GreatCircle . COM>
References: <BB8B2D5896E7D211A5980000F81B2D98014D3A38@rftzy230.ca.nortel.com>

uid 8 and gid 12 is typical of the sendmail uid and gid.  Are these the numbers you compiled
the wrapper to use?  If so, check your /etc/passwd and /etc/group files to set the owner and
group of the majordomo directory to these.  I think it would be easier, and potentially 
wiser, to recompile your wrapper with the uid/gid values set to something unique to majordomo
and make changes to passwd and group files accordingly.

I use these files on my linux box.
/etc/passwd
majordom:x:400:400:Mailing List Mgr:/var/majordomo:/bin/bash

/etc/group
majordom:x:400:root,daemon,dliston

/etc/mail/majordomo.aliases
majorodmo:      majordomo,
majrodomo:	majordomo,
majordomo:  "|/var/majordomo/wrapper majordomo"
majordom:	owner-majordomo
majordomo-owner: owner-majordomo
owner-majordomo: root,
#
test:	"|/var/majordomo/wrapper resend -l test test-outgoing,nobody"
test-outgoing:  :include:/var/majordomo/lists/test
test-owner:	owner-test
owner-test:	dliston,
test-request:	"|/var/majordomo/wrapper request-answer test"
owner-test-request:	owner-test,
test-approval:	owner-test,

/var
drwxrwx--x   24 majordom majordom     4096 Jul 25 01:29 majordomo

/var/majordomo
drwxr-xr-x    1 majordom majordom       31 May  6 12:54 Doc
-rw-r-----    1 majordom majordom    23143 Aug  5 09:49 Log
drwxr-xr-x    2 majordom majordom     4096 Jun 20 09:51 Tools
-rw-r--r--    1 majordom majordom     6305 Jul 24 02:14 aliases
drwxr-xr-x    4 majordom majordom    16384 May 15 00:46 archive
-rwxrwxr-x    1 majordom majordom     5263 Jan  7  2000 archive2.pl
-rwxr-xr-x    1 majordom majordom     9438 May 13 18:11 autobounce
-rw-r--r--    1 majordom majordom     8639 Nov 16  1999 autobounce.cf
-rw-r--r--    1 majordom majordom      542 Nov 16  1999 autobounce.use
drwxr-xr-x    2 majordom majordom     4096 May 15 12:08 bin
-rwxr-xr-x    1 majordom majordom     2791 Mar  4 21:35 bounce-remind
-rw-r--r--    1 majordom majordom    27201 Nov 16  1999 bouncefilter2.1a2.tar.gz
-rwxr-xr-x    1 majordom majordom    14502 Dec 24  1999 bouncer
-rwxr-xr-x    1 majordom majordom    10667 Mar  4 21:35 config-test
-rwxr-xr-x    1 majordom majordom    50926 May  4 12:38 config_parse.pl
-rwxr-xr-x    1 majordom majordom    14197 Mar  4 21:35 digest
-rw-r--r--    1 majordom majordom      755 Nov 21  1999 digest.send
drwxr-xr-x    9 majordom majordom     4096 Dec 24  1999 digests
drwxr-xr-x    7 majordom majordom     4096 Jul 24 02:36 lists
-rwxr-xr-x    1 majordom majordom    62846 Apr 19 06:13 majordomo
-rw-r--r--    1 majordom majordom    10747 May 23 22:20 majordomo.cf
-rwxr-xr-x    1 majordom majordom    24381 Mar  4 21:35 majordomo.pl
-rwxr-xr-x    1 majordom majordom      137 Mar  4 21:35 majordomo_version.pl
-rwxr-xr-x    1 majordom majordom     2748 Mar  4 21:35 makeindex.pl
drwxr-xr-x    4 majordom majordom     4096 Jun 16  1999 man
-rwxr-xr-x    1 majordom majordom     3787 Mar  4 21:35 request-answer
-rwxr-xr-x    1 majordom majordom    29915 Mar  4 21:35 resend
-rw-r--r--    1 majordom majordom    10462 Mar  4 21:35 sample.cf
-rwxr-xr-x    1 majordom majordom     8060 Mar  4 21:35 shlock.pl
drwxr-xr-x    5 majordom majordom     4096 Nov 13  1999 smartbounce
-rw-r--r--    1 majordom majordom      277 Apr 25 21:56 sort-list.sh
-rwsr-xr-x    1 root     majordom    14818 Mar  4 21:35 wrapper

/var/majordomo/lists
-rw-r--r--    1 majordom majordom      191 May 15 23:15 test
-rw-r--r--    1 majordom majordom       55 May 15 23:15 test-digest
-rw-rw-r--    1 majordom majordom    16133 Nov 19  1999 test-digest.config
-rw-rw-r--    1 majordom majordom      586 Oct 11  1999 test-digest.info
-rw-rw-r--    1 majordom majordom    16450 May 23 22:21 test.config
-rw-rw-r--    1 majordom majordom      204 Dec 13  1999 test.info
drwxrwxr-x    2 majordom majordom     4096 Oct 11  1999 test-digest.archive
drwxrwxr-x    2 majordom majordom     4096 Dec 24  1999 test.archive

/var/majordomo/lists/test-digest.archive

/var/majordomo/lists/test.archive
-rw-rw----    1 majordom majordom      562 Oct 12  1999 test.9910
-rw-rw-r--    1 majordom majordom     7237 Nov 19  1999 test.9911

/var/majordomo/digests
drwxrwxr-x    2 majordom majordom     4096 Oct 12  1999 test-digest

/var/majordomo/digests/test-digest
-rw-rw----    1 majordom majordom      561 Oct 12  1999 001

> Thanks for the info, it's getting me started. I've done as you recommend, and now unfortunately I'm getting:
> 
> MAJORDOMO ABORT (mj_majordomo)!!
> 
> While running with an effective uid of 8 and an effective gid of 12 12, Majordomo
> ran into the following problems:
> Unable to write to log file, check permissions on /usr/majordomo/Log
> Unable to write to list directory $listdir, check permissions on /usr/majordomo/lists
> 
> ---------
> 
> I have a feeling majordomo is actually running as "daemon" and that's what's causing these problems. I'm not sure how to check or change that though...

Log in as the user, and run /usr/majordomo/wrapper config-test to check.  To change requires recompiling the wrapper.

Dan Liston



References:
Indexed By Date Previous: Re: anonymous sender
From: John Horne <J.Horne@plymouth.ac.uk>
Next: Q: Setup
From: Yury Peskin <ypeskin@vendorsystems.com>
Indexed By Thread Previous: RE: Permissions conflict?
From: "Mike Bobbitt" <Mike.Bobbitt@nortelnetworks.com>
Next: [no subject]
From: "Marytn Welch" <mwelch@wsatkins.co.uk>

Google
 
Search Internet Search www.greatcircle.com