linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "console" virtual group for desktop users
@ 2004-04-03  4:58 Matthew Mastracci
  2004-04-03 15:43 ` Waldo Bastian
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Matthew Mastracci @ 2004-04-03  4:58 UTC (permalink / raw)
  To: linux-hotplug

I originally posted this message to Redhat's pam-list, but I didn't
receive any responses.  I'm not certain if these lists are the best
place for it, but I can see possible overlap with some of the Project
Utopia and general Linux Hotplug work and thought it could provoke some
useful discussion here.  

The summary of the message is the replacement of the "console.perms"
style permissions with a "console" group, whose members would be
provided by an nsswitch library.  These members would dynamically update
as users create/kill X sessions, allowing two locally logged in users
with different X sessions to share local devices (ie: /dev/dsp,
/dev/dvd, etc.)

--- Previous Message ---

After having some issues with pam_console applying permissions to some
nvidia* files, I was wondering - would it be better to assign these
devices a group of "console" and use nsswitch to dynamically assign
console users?

I've had to reset the permissions of the device to 777, owner root and
disable the entry in console.perms, but that does allow non-local users
access to these devices.

An nsswitch module could just enumerate the entries in
/var/run/console/* and return them as part of the console group. These
users should then have access to the given console device.

Thoughts?

-- 
Matthew Mastracci <matt@aclaro.com>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-05 15:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-03  4:58 "console" virtual group for desktop users Matthew Mastracci
2004-04-03 15:43 ` Waldo Bastian
2004-04-03 18:36 ` Matthew Mastracci
2004-04-05 15:35 ` Bill Nottingham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).