*BSD News Article 56337


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!newsroom.utas.edu.au!munnari.OZ.AU!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!psgrain!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.1-R suid problem
Date: 7 Dec 1995 22:08:17 GMT
Organization: Private BSD site, Dresden
Lines: 24
Message-ID: <4a7okh$jns@uriah.heep.sax.de>
References: <4a2gjm$5sq@buffnet2.buffnet.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

shovey@buffnet.net (steve hovey) writes:
> I ported MMDF to bsd.
> 
> The spool dir has chmod 700 with mmdf as owner.
> 
> the delivery program, submit, needs to make files in the spool dir
> 
> Its cant unless Im in as root, even though the suid bit is set on submit 
> (4755)
> 
> I had to give the mailer group perms to the subdirs and setgroupid submit 
> to get it to work.

Perhaps the mailer is releasing its suidness too quickly?

I think MMDF originates from the SCO camp, and i suspect the setuid
model of SCO being rather different from the 4.4BSD one.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)