From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,abd71e31c339395a,start X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,abd71e31c339395a,start X-Google-Attributes: gidf678f,public From: "Darryl Friesen" Subject: Need Help: sendmail, chmod and SETUID problems Date: 1996/11/01 Message-ID: <01bbc80b$427240c0$e84ae980@gollum.usask.ca>#1/1 X-Deja-AN: 193822011 content-type: text/plain; charset=ISO-8859-1 organization: University of Saskatchewan mime-version: 1.0 newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 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"