Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Need Help: sendmail, chmod and SETUID problems
@ 1996-11-01  5:00 Darryl Friesen
  0 siblings, 0 replies; only message in thread
From: Darryl Friesen @ 1996-11-01  5:00 UTC (permalink / 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"




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-11-01  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-01  5:00 Need Help: sendmail, chmod and SETUID problems Darryl Friesen

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