Hi,
The machine that is running majordomo/majorcool is our internal WWW
server. (merlin)
The machine that is configured as mailhost for ornet can reach the
majordomo account via NFS. (ornet)
Installing majordomo and running the wrapper from any user, has no
problem when it is executed on the local machine (merlin).
Running the wrapper from the mailhost machine (ornet), the wrapper
fails to set the real/effective UID/GID
[Q1] What mount options I need? (suid?, grpid?)
[Q2] What export options I need? (root=mailhost)
[Q3] Some automounter config needed (we use `amd')
We run SunOS 4.1.4 on both machines, the majordomo account is
automounted via the `amd' daemon on the mailhost.
I discovered the problem, the first time a user wanted to unsubscribe
from the list.
Thanks for your Help!
--- Ricky.
P.D. Here are the examples:
For example, if I login in the localhost (merlin), as a
non-priviledged user (test), running the wrapper on config-test I get:
(running ./wrapper config-test in the correct location)
------------------------------------------------------------
---------------- Config-test for Majordomo ----------------
------------------------------------------------------------
--------------------- Obvious things: ---------------------
------------------ environment variables ------------------
HOME=/u/majordom/1.94.3
LOGNAME=test
MAJORDOMO_CF=/u/majordom/1.94.3/majordomo.cf
PATH=/bin:/usr/bin:/usr/ucb
SHELL=/bin/sh
USER=test
--------------------- euid/egid checks ---------------------
effective user = majordom (uid 4999)
effective group = daemon (gid 1 115 )
---------------------- uid/gid checks ----------------------
real user = majordom (uid 4999)
real group = daemon (gid 1 115 )
------------------------------------------------------------
Non obvious things that cause headaches:
------------------------------------------------------------
Good: 'require'd /u/majordom/1.94.3/majordomo.cf okay.
Good: found ctime.pl okay.
Good: found majordomo_version.pl okay.
Good: found majordomo.pl okay.
Good: found shlock.pl okay.
Good: found config_parse.pl okay.
You're running Majordomo Version 1.94.3.
--==> Majordomo home directory is /u/majordom/1.94.3.
------------------- Include directories -------------------
/u/majordom/1.94.3
/usr/local/lib/perl5/sun4-sunos/5.003
/usr/local/lib/perl5
/usr/local/lib/perl5/site_perl/sun4-sunos
/usr/local/lib/perl5/site_perl
.
--------------------------- Home ---------------------------
Good: changedir to /u/majordom/1.94.3 succeeded.
Good: Created a mock lock file.
---------------------- temp directory ----------------------
Good: Created a temp file in $TMPDIR (/usr/tmp).
---------------------- list directory ----------------------
Good: list directory /u/majordom/1.94.3/lists has good permissions.
--------------------------- log ---------------------------
Good: logfile /u/majordom/1.94.3/Log exists and is writeable.
------------------------- Mailers -------------------------
You have defined a mailer for delivery.
Attempting to verify that this is a valid mailer...looks okay.
You have defined a mailer for delivering administrative messages.
Attempting to verify that this is a valid mailer...looks okay.
------------------ Checking majordomo.cf ------------------
Checking to see if there are new variables that should be in
your majordomo.cf file...Nope, none that I see.
Have you configured where Majordomo is?
$whereami is ornet.co.il
Good: yup!
----------------------- end of tests -----------------------
Nothing bad found! Majordomo _should_ work correctly.
If it doesn't, check your configuration file
(/u/majordom/1.94.3/majordomo.cf)
closely, and if it still looks okay, consider asking the majordomo-users
mailing list at "majordomo-users@greatcircle.com" for assistance. Be sure
and fully specify what your problems are, and what type of machine (and
operating system) you are using.
Enjoy!
Now running the same from the mailhost (ornet), I get the following:
------------------------------------------------------------
---------------- Config-test for Majordomo ----------------
------------------------------------------------------------
--------------------- Obvious things: ---------------------
------------------ environment variables ------------------
HOME=/u/majordom/1.94.3
LOGNAME=test
MAJORDOMO_CF=/u/majordom/1.94.3/majordomo.cf
PATH=/bin:/usr/bin:/usr/ucb
SHELL=/bin/sh
USER=test
--------------------- euid/egid checks ---------------------
effective user = test (uid 131)
effective group = ornet ornet (gid 115 115 )
---------------------- uid/gid checks ----------------------
real user = test (uid 131)
real group = ornet ornet (gid 115 115 )
------------------------------------------------------------
Non obvious things that cause headaches:
------------------------------------------------------------
Good: 'require'd /u/majordom/1.94.3/majordomo.cf okay.
Good: found ctime.pl okay.
Good: found majordomo_version.pl okay.
Good: found majordomo.pl okay.
Good: found shlock.pl okay.
Good: found config_parse.pl okay.
You're running Majordomo Version 1.94.3.
--==> Majordomo home directory is /u/majordom/1.94.3.
------------------- Include directories -------------------
/u/majordom/1.94.3
/usr/local/lib/perl5/sun4-sunos/5.003
/usr/local/lib/perl5
/usr/local/lib/perl5/site_perl/sun4-sunos
/usr/local/lib/perl5/site_perl
.
--------------------------- Home ---------------------------
Good: changedir to /u/majordom/1.94.3 succeeded.
BAD: Couldn't create a mock lock file.
$homedir (/u/majordom/1.94.3) needs to be writable.
---------------------- temp directory ----------------------
Good: Created a temp file in $TMPDIR (/usr/tmp).
---------------------- list directory ----------------------
BAD: list directory /u/majordom/1.94.3/lists has bad permissions
--------------------------- log ---------------------------
BAD: logfile /u/majordom/1.94.3/Log exists, but is not writeable.
------------------------- Mailers -------------------------
You have defined a mailer for delivery.
Attempting to verify that this is a valid mailer...looks okay.
You have defined a mailer for delivering administrative messages.
Attempting to verify that this is a valid mailer...looks okay.
------------------ Checking majordomo.cf ------------------
Checking to see if there are new variables that should be in
your majordomo.cf file...Nope, none that I see.
Have you configured where Majordomo is?
$whereami is ornet.co.il
Good: yup!
----------------------- end of tests -----------------------
3 bad things were found.
Please fix before attempting to run Majordomo.
--
--- Ricky -*- Mode: Another-Unix-Hacker -*-
------------------------------------------------------------------------------
--- e-mail: ricky@ornet.co.il ORNET Data Communication Technologies Ltd.
--- phone: +972-4-9981314 (A Siemens Company)
------------------------------------------------------------------------------
tmps_base = tmps_max; /* protect our mortal string */
--Larry Wall in stab.c from the perl source code
|
|