Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: "Darryl Friesen" <Darryl.Friesen@usask.ca>
Subject: Need Help: sendmail, chmod and SETUID problems
Date: 1996/11/01	[thread overview]
Message-ID: <01bbc80b$427240c0$e84ae980@gollum.usask.ca> (raw)



I have a rather odd problem.  I've recently installed a mailing list
package called petidomo (claims it's a faster, sub-set of MajorDomo).

When a user on the same machine as the software attempts to subscribe,
they get back the following bounced message from the Mail Delivery
system

   sh: /work/petidomo/sbin/petidomo: cannot execute
   554 "|/work/petidomo/sbin/petidomo testlist"... unknown mailer error 1

People subscribing from other machines DO NOT have a problem.  The
documentation for Petidomo contains the following note, which appears
to explain the problem:

     One more note, though: Older sendmail versions do weird
     things, like using the user id of the user who started the job.

This appears to be the case.  The solution outlined was to set the
setuid and setgid bits, which I did with a "chmod 6750" (the
documentation suggested "chmod 6500" which doesn't work either).
The files look like this

 0 lrwxrwxrwx   1 root     domo           8 Oct 31 12:32 listmail@ ->
petidomo*
48 -rwsr-s---   1 daemon   daemon     49152 Oct 31 12:32 petidomo*

This doesn't appear to work though;  the above mentioned behavior still
exists.  If I "chmod 6755", the executables now work from subscribe
messages, but they don't seem to have access to the mailing list
directories (which are read-write for group daemon).

Any thoughts?  I'd appreciate _any_ help.

Thanx,

- Darryl

  ----------------------------------------------------------------------
   Darryl Friesen, Consulting & Development     Darryl.Friesen@usask.ca
   Department of Computing Services                 61 Physics Building
   University of Saskatchewan                   http://gollum.usask.ca/
  ----------------------------------------------------------------------
  "The Truth Is Out There"




                 reply	other threads:[~1996-11-01  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox