From owner-freebsd-security Mon Nov 1 9:47:35 1999 Delivered-To: freebsd-security@freebsd.org Received: from anarcat.dyndns.org (phobos.IRO.UMontreal.CA [132.204.20.20]) by hub.freebsd.org (Postfix) with ESMTP id 63DB514D0F; Mon, 1 Nov 1999 09:47:27 -0800 (PST) (envelope-from spidey@anarcat.dyndns.org) Received: by anarcat.dyndns.org (Postfix, from userid 1000) id C21331BD7; Mon, 1 Nov 1999 12:48:16 -0500 (EST) From: Spidey MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14365.53855.175577.614259@anarcat.dyndns.org> Date: Mon, 1 Nov 1999 12:48:15 -0500 (EST) To: Eivind Eklund Cc: freebsd-security@FreeBSD.ORG Subject: Re: Examining FBSD set[ug]ids and their use References: <14364.64172.638014.558487@anarcat.dyndns.org> <19991101173955.L72085@bitbox.follo.net> <14365.50723.872972.30971@anarcat.dyndns.org> <19991101184031.O72085@bitbox.follo.net> X-Mailer: VM 6.72 under 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2) Reply-To: Spidey Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --- Big Brother told Eivind Eklund to write, at 18:40 of November 1: > On Mon, Nov 01, 1999 at 11:56:03AM -0500, Spidey wrote: > > --- Big Brother told Eivind Eklund to write, at 17:39 of November 1: > > > On Sun, Oct 31, 1999 at 09:27:56PM -0500, Spidey wrote: > > > > # The suid bit is NOT necessary for any usage I could find... > > > > df gname=operator mode=2555 > > > > > > The suid bit is necessary for users to be able to inspect the amount > > > of disk space free on unmounted disks. > > > > I must be missing something here. When a disk is unmounted, it does > > not appear in the df output, no? > > No, but a user can explictly run df against an unmounted file system. > (Not after I get my dirty fingers out of -current, though). Ah. I never witness this behavior. I'll try it.. :) > > > > # High scores management > > > > sol uname=games gname=games mode=6755 > > > > > > This looks like a bug in some port, actually. We shouldn't normally > > > have anything that is setuid games, only setgid. > > > > Oh. And why? > > Because somebody getting an extra group makes less harm than them > getting an extra UID - an extra GID lets them get extra access, while > an alternative UID give them extra access *and* lets them hide who > they are. That is a fact. Then there's a hell of a cleaning up to do in the game ports!! It seems quite a lot of them install with suid games privileges... Should I send this list to -ports? AnarCat -- Si l'image donne l'illusion de savoir C'est que l'adage pretend que pour croire, L'important ne serait que de voir Lofofora To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message