From owner-freebsd-questions Fri Feb 2 9:26: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from d9168.upc-d.chello.nl (d9168.upc-d.chello.nl [213.46.9.168]) by hub.freebsd.org (Postfix) with ESMTP id 0D90237B6A4 for ; Fri, 2 Feb 2001 09:25:47 -0800 (PST) Received: by d9168.upc-d.chello.nl (Postfix, from userid 1001) id EE6C8306; Fri, 2 Feb 2001 18:25:45 +0100 (CET) Date: Fri, 2 Feb 2001 18:25:45 +0100 From: Edwin Groothuis To: "Dmitry U. Karpov" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: root-SetUID for /usr/libexec/mail.local Message-ID: <20010202182545.G62745@d9168.upc-d.chello.nl> Mail-Followup-To: Edwin Groothuis , "Dmitry U. Karpov" , freebsd-questions@FreeBSD.ORG References: <3A7B8638.39D9@misa.ac.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A7B8638.39D9@misa.ac.ru>; from Dmitry.Karpov@misa.ac.ru on Fri, Feb 02, 2001 at 08:16:56PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Feb 02, 2001 at 08:16:56PM -0800, Dmitry U. Karpov wrote: > In FreeBSD'4.1.1 file /usr/libexec/mail.local is: > -r-sr-xr-x 1 root wheel 20360 Sep 26 2000 /usr/libexec/mail.local > but in FreeBSD'4.2 (from ftp://ftp.gamma.ru) this file > has not SetUID bit and local mail not working: "Deferred". :-( > When I set SetUID bit - Ok! > What is the reason for this problem? Are files "bin.??" bad? http://www.FreeBSD.org/cgi/cvsweb.cgi/src/libexec/mail.local/Makefile ------------------------------------------------------------------------------- Revision 1.13 / (download) - annotate - [select for diffs], Tue Oct 10 18:12:30 2000 UTC (3 months, 3 weeks ago) by gshapiro Branch: MAIN Changes since 1.12: +1 -3 lines Diff to previous 1.12 (colored) mail.local(8) is no longer installed as a set-user-id binary. Users may have to adjust their configuration to call mail.local as root by adding the F=S flag to the local mailer. Most probably already have this. ------------------------------------------------------------------------------- Don't know why this is done btw. Edwin -- Edwin Groothuis | Interested in MUDs? Visit Fatal Dimensions: mavetju@chello.nl | http://fataldimensions.nl.eu.org/ ------------------+ telnet://fataldimensions.nl.eu.org:4000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message