Date: Sat, 8 Jun 1996 10:21:27 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: pst@shockwave.com (Paul Traina) Cc: security@freebsd.org, core@freebsd.org (FreeBSD core team) Subject: Re: FreeBSD's /var/mail permissions Message-ID: <199606080821.KAA11417@uriah.heep.sax.de> In-Reply-To: <199606071239.FAA19708@precipice.shockwave.com> from Paul Traina at "Jun 7, 96 05:39:22 am"
next in thread | previous in thread | raw e-mail | index | archive | help
As Paul Traina wrote: (No idea whether discussion did already take place, i'm not on the security list. I suggest keeping -core as well.) > Proposed solution: > I'm considering creating group "mail" and going the setgid route, > so that a program which creates files in /var/mail can be simply > setgid mail. > > This is a well understood mail directory protection mechanism > and employs the "principle of least privilege." I don't think so. Unlike SysV, you cannot chown a file to a user of your will except when being root. So IMHO this does already mandate the programs that create mail folders to be setuid root. Given this, there's no sense in using the group `mail' in addition. -- 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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606080821.KAA11417>