[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exploring debian's users and groups



On Tue, Aug 07, 2001 at 07:40:33PM +0100, Stephen Stafford wrote:
> On Tuesday 07 Aug 2001 6:23 pm, Joey Hess wrote:
> > Stephen Stafford wrote:
> > > It would appear that only spellcast uses the user:
> > > clothcat:/# find . -user games
> > > ./usr/games/spellcast
> > > ./var/games/spellcast
> >
> > Is that a bug in spellcast, or does it actually use the user for
> > something? It is suid games?
> 
> stephen:~$ ls -ld /var/games/spellcast/
> drwxrwsr-x    2 games    games        1024 Apr  2 08:35 
> /var/games/spellcast/
> stephen:~$ ls -l /usr/games/spellcast
> -rwxr-sr-x    1 games    games      105180 Jun 11 20:49 
> /usr/games/spellcast
> 
> Apears to be sgid
> 
> no idea why though

Looks like so it can write to /var/games/spellcast/ as group games...
a high-score-file type deal?

If you take a look at bsdgames, a lot of the games in that package are
setgid to the games group; which makes sense, since a lot of older games
kept stats for all the users on the machines (presumably so that the
system administrator would have something to compete against ;)

> 
> -- 
> Stephen Stafford
> GPG public key on request
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Matthew Danish                         email: mdanish@andrew.cmu.edu ;;
;; OpenPGP public key available from:        'finger mrd@db.debian.org' ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



Reply to: