From owner-freebsd-isp Mon Jul 24 21:52:27 2000 Delivered-To: freebsd-isp@freebsd.org Received: from pericles.IPAustralia.gov.au (pericles.IPAustralia.gov.au [202.14.186.30]) by hub.freebsd.org (Postfix) with ESMTP id 9D8FD37B65C for ; Mon, 24 Jul 2000 21:52:22 -0700 (PDT) (envelope-from anwsmh@IPAustralia.Gov.AU) Received: (from smap@localhost) by pericles.IPAustralia.gov.au (8.9.3/8.9.3) id OAA01735 for ; Tue, 25 Jul 2000 14:52:19 +1000 (EST) (envelope-from anwsmh@IPAustralia.Gov.AU) Received: from disc-4-161.aipo.gov.au(10.0.4.161) by pericles.IPAustralia.gov.au via smap (V2.0) id xma001720; Tue, 25 Jul 00 14:51:55 +1000 Received: from localhost (anwsmh@localhost) by stan.aipo.gov.au (8.9.3/8.9.3) with ESMTP id OAA00921 for ; Tue, 25 Jul 2000 14:57:28 +1000 (EST) (envelope-from anwsmh@IPAustralia.Gov.AU) X-Authentication-Warning: stan.aipo.gov.au: anwsmh owned process doing -bs Date: Tue, 25 Jul 2000 14:57:27 +1000 (EST) From: Stanley Hopcroft X-Sender: anwsmh@stan.aipo.gov.au To: isp@freebsd.org Subject: Web mail admin: running /usr/bin/newaliases with 4.0-RELEASE ? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear Ladies and Gentlemen, I am writing to ask your help with a web based email administration program. This small C CGI program that updates /etc/aliases and then runs "newaliases" that no longer works on FreeBSD 4.0-RELEASE (but works fine with 3.2-RELEASE and 2.2.8-RELEASE) The program is suid root; it fails with "Permission denied" and sendmail (8.9.3) logs "uid non_0 tried to update alias map" Your advice or comment is most welcome. I have tried unsuccessfully some suggestions about a similar thread on Questions to . execute sendmail directly (bypassing the symlink to mailwrapper) . making mailwrapper suid root I can't get *any* suid program that forks and execs newaliases to work; would dispensing with mailwrapper help ? Thank you. Yours sincerely, S Hopcroft Network Specialist IP Australia +61 2 6283 3189 +61 2 6281 1353 FAX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message