Eric,
> I'm having a devil of a time installing majordomo on an SGI, too,
> running IRIX 5.?. I am delighted to see that I'm not alone.
>
> Sounds similar to what I've been seeing. I've tried POSIX and
> non-POSIX settings and all combinations of UID/GID, and nothing.
> I've set majordomo up on BSDI and SunOS boxes with little trouble,
> but this one's making me crazy.
>
> If someone who's done this could forward their Makefile, I'd be
> eternally grateful.
> --
> Eric S. Theise <verve@cyberwerks.com>, <verve@well.sf.ca.us>
> Liberty Hill Cyberwerks, P.O. Box 460177, San Francisco, CA 94146
Here's the Makefile I used on our SGI 4D/380S. W_UID and W_GUID are or
group and user majordomo. "wrapper" is setuid and owned by root (make
sure W_UID and W_GUID are *not* 0).
The only thing I have not gotten to work is the "approval" to post
articles in a moderated list. Un-moderated lists work fine (have not yet
tried bounces list; waiting to get approval of moderated list to work first).
I have only put the first part of the Makefile which I beleive is what
you're looking for:
# this makefile installs the following structure for the bsd universe:
# (root is W_BIN below)
# root -+-- -- actual majordomo scripts, libraries etc
# +-- Tools -- tools like archive
# +-- bin -- user level tools, approve, bounce etc
# +-- man -- man pages
#
# This is where "wrapper" looks for the programs it's supposed to run.
W_BIN=/usr2/people/majordo/bin
# This is the environment that (along with LOGNAME and USER inherited from the
# parent process, and without the leading "W_" in the variable names) gets
# passed to processes run by "wrapper"
W_PATH=/bin:/usr/bin:/usr/ucb:/usr2/people/majordo/bin:/usr/bsd
W_HOME=${W_BIN}
W_SHELL=/bin/tcsh
W_MAJORDOMO_CF=$(W_BIN)/majordomo.cf
# Use these settings for BSD-based systems, including SunOS 4.x. If you're
# using a POSIX-compliant system (including SysV and BSDI), comment these
# settings out, and uncomment the POSIX settings below.
#W_USER=daemon
#W_GROUP=majordo
#W_CHOWN=${W_USER}.${W_GROUP}
#W_CHMOD=6755
#WRAPPER_FLAGS = -DBIN=\"${W_BIN}\" -DPATH=\"PATH=${W_PATH}\" \
# -DHOME=\"HOME=${W_HOME}\" -DSHELL=\"SHELL=${W_SHELL}\" \
# -DMAJORDOMO_CF=\"MAJORDOMO_CF=${W_MAJORDOMO_CF}\"
# If you're using a POSIX-compliant system, uncomment this set of parameters
# and comment out the BSD settings above.
#W_UID = 1
#W_GID = 15
W_UID = 10001
W_GID = 10000
W_CHOWN=root
W_CHMOD=4755
WRAPPER_FLAGS = -DBIN=\"${W_BIN}\" -DPATH=\"PATH=${W_PATH}\" \
-DHOME=\"HOME=${W_HOME}\" -DSHELL=\"SHELL=${W_SHELL}\" \
-DMAJORDOMO_CF=\"MAJORDOMO_CF=${W_MAJORDOMO_CF}\" \
-DPOSIX_UID=${W_UID} -DPOSIX_GID=${W_GID}
# YOU SHOULDN'T HAVE TO CHANGE ANYTHING BELOW THIS LINE.
# For those stupid machines that try to use csh
SHELL = /bin/sh
I hope this helps,
Claude
----------------------------------------------------------------------------
Claude Cantin Claude Cantin
Rm 3118, 100 Sussex Dr. Piece 3118, 100 Prom. Sussex
Scientific Computing Support Soutien aux chercheurs
Science Affairs Office Bureau des affaires scientifiques
National Research Council Conseil National de Recherches
Ottawa, Canada (K1A 0R6) Ottawa, Canada (K1A 0R6)
claude.cantin@nrc.ca 1-613-993-0822 (FAX: 993-3127)
----------------------------------------------------------------------------
References:
|
|