*BSD News Article 60070


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.hawaii.edu!ames!agate!holonet!colossus.holonet.net!news2.net99.net!news.cais.net!ringer.cs.utsa.edu!swrinde!howland.reston.ans.net!EU.net!Portugal.EU.net!news.rccn.net!scsing.switch.ch!swidir.switch.ch!in2p3.fr!univ-lyon1.fr!ensta!itesec!sidhe.frmug.fr.net!not-for-mail
From: roberto@keltia.freenix.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Elm does not like me :(
Date: 25 Jan 1996 13:10:24 GMT
Organization: Herve Schauer Consultants
Lines: 23
Message-ID: <4e7vg0$rhs@sidhe.hsc-sec.fr>
References: <4e34av$fin@tzlink.j51.com> <4e5327$1co@news.calweb.com> <4e583s$ara@blackice.winternet.com>
Reply-To: roberto@hsc.fr.net (Ollivier Robert)
NNTP-Posting-Host: sidhe.hsc-sec.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <4e583s$ara@blackice.winternet.com>,
John D. Boggs <jdb@robigo.winternet.com> wrote:
> >
> >chmod 7111 (I belive) on /var/spool/mail should fix that

Having /var/mail 1777 is a security hole... 

> When I compiled elm (before I started using VM) I found that this
> error referred to a locking problem.  I switched it to use only flock,
> and things were just dandy from that point on.

Under any version of FreeBSD, one need to have :

- /var/mail 755 root.wheel
- use only fcntl as locking scheme
- configure elm *not* to be setgid mail. 

It runs fine like that. 

[ cc'ed to John ]
-- 
Ollivier ROBERT  -=-=-  FreeBSD 2.x FAQ maintainer -=-=-  roberto@freebsd.org
-=-=-=-=-=- Support The Free UNIX Systems !  FreeBSD Linux NetBSD -=-=-=-=-=-