From owner-freebsd-security Mon Nov 1 9:40:39 1999 Delivered-To: freebsd-security@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id A5A6414CCB for ; Mon, 1 Nov 1999 09:40:33 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id SAA05429; Mon, 1 Nov 1999 18:40:32 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id SAA73968; Mon, 1 Nov 1999 18:40:31 +0100 (MET) Date: Mon, 1 Nov 1999 18:40:31 +0100 From: Eivind Eklund To: Spidey Cc: freebsd-security@FreeBSD.ORG Subject: Re: Examining FBSD set[ug]ids and their use Message-ID: <19991101184031.O72085@bitbox.follo.net> References: <14364.64172.638014.558487@anarcat.dyndns.org> <19991101173955.L72085@bitbox.follo.net> <14365.50723.872972.30971@anarcat.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <14365.50723.872972.30971@anarcat.dyndns.org>; from beaupran@jsp.umontreal.ca on Mon, Nov 01, 1999 at 11:56:03AM -0500 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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). > > > # 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. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message