Re: Suggested dual human/binary interface for proc/devfs

Aaron Denney (wnoise@ugcs.caltech.edu)
13 Apr 2000 21:50:53 GMT


On Thu, 13 Apr 2000 12:58:44 -0700, H. Peter Anvin <hpa@transmeta.com> wrote:
> On a similar note, I notice that recent versions of RedHat (via GNOME?)
> seems to magically change owners on a whole bunch of devices. It seems
> to me that it would be a *much* cleaner solution would be to have a
> special group for the console owner, and when logging in the user add
> that group to his auxilliary group list via setgroups().

And then the user leaves a setgid console shell around and can play with
the devices when the next user logs in.

Changing the owrenrship eliminates that possibility, but we still need
a revoke().

-- 
Aaron Denney
-><-

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/