Date: Mon, 1 Nov 1999 12:48:15 -0500 (EST) From: Spidey <beaupran@jsp.umontreal.ca> To: Eivind Eklund <eivind@FreeBSD.ORG> Cc: freebsd-security@FreeBSD.ORG Subject: Re: Examining FBSD set[ug]ids and their use Message-ID: <14365.53855.175577.614259@anarcat.dyndns.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14365.53855.175577.614259>