Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2000 01:59:40 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Giorgos Keramidas <charon@bug.gr>
Cc:        Justin <asmo@zeus.larp.com>, freebsd-questions@freebsd.org
Subject:   Re: Sendmail Error
Message-ID:  <20000417015940.H23900@strontium.scientia.demon.co.uk>
In-Reply-To: <005001bfa7e7$ebc7ff60$10c536d4@charon>
References:  <005001bfa7e7$ebc7ff60$10c536d4@charon>

next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas wrote:

> The solution is to chmod sendmail's binary to be
> set-uid root, and let simple users run sendmail as
> root.wheel, as shown below:
> 
>     # cd /usr/sbin
>     # chmod 4755 mailwrapper
> 
> (Don't worry about seeing mailwrapper here, instead
> of sendmail.  Your /usr/sbin/sendmail should be a link
> to mailwrapper, as far as I know. :)

uh.. I think this is wrong.  AFAIK you should make the real sendmail program
setuid root, *not* the wrapper.

ben@strontium:~$ ls -l /usr/libexec/sendmail/sendmail /usr/sbin/mailwrapper
-r-sr-xr-x  1 root  wheel  315788  2 Apr 02:42 /usr/libexec/sendmail/sendmail*
-r-xr-xr-x  1 root  wheel    4556  2 Apr 02:42 /usr/sbin/mailwrapper*

-- 
Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D


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?20000417015940.H23900>