Subject: Re: grf device permissions
To: None <>
From: Jake Hamby <>
List: amiga-dev
Date: 10/31/1995 15:51:56
On Tue, 31 Oct 1995, Antti Miettinen wrote:

> >Why is it so that the grf[0-5]-devices have to be rw for all in order to 
> >work, so that every user is able to map in gfxcard-registers and 
> >framebuffer? Isn't it considered as a security hole? 
> Well I for one would not want to have my X server be suid root but
> maybe we could make the device nodes rw for a group and make the
> programs which need to rw those devices be sgid.

On SunOS systems and other BSD variants, there is often a file called 
/etc/fbtab whose specific purpose is to change ownership of the 
framebuffer, audio, and other devices to whoever is logged into the 
console.  I know FreeBSD's login(1) supports /etc/fbtab, but my 
NetBSD/Sparc box doesn't, so I guess NetBSD/Amiga doesn't either.  Maybe 
this is something to add for NetBSD 1.2 (I know it's too late for 1.1...)

     Jake Hamby                         |   E-Mail:
  Student, Cal Poly University, Pomona  |   System Administrator, JPL