Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 11:17:12 -0600
From:      Mike Meyer <mwm@mired.org>
To:        "Jeremiah Gowdy" <jeremiah@sherline.com>
Cc:        questions@freebsd.org
Subject:   Re: suidperl breaks amavis port
Message-ID:  <14994.42648.893592.127141@guru.mired.org>
In-Reply-To: <36018434@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremiah Gowdy <jeremiah@sherline.com> types:
> I've been speaking with the developers of Amavis, the perl script for MTAs
> that scans emails using McAfee or some other virus scanner.  They are unable
> to get their script to work under FreeBSD 4.2 because suidperl keeps saying
> "Can't do suid."  They claim it worked fine under FreeBSD 4.1.  Did the
> suidperl's suid bit get removed in 4.2, or was it removed earlier ?  I tried
> just resetting the suid bit, but I still got the same message.  Does
> something special have to be done to enable suidperl ?

Yup. You have to turn the setuid bit on on /usr/bin/suidperl.  I'm not
sure if this can be turned on during the install process. If you're
building from sources, set ENABLE_SUIDPERL=true in /etc/make.conf.

This is a compromise between security and functionality. The system is
secure by default, but if you'd rather have the functionality, you can
trivially turn it on.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14994.42648.893592.127141>