linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Mastracci <matt@aclaro.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: "console" virtual group for desktop users
Date: Sat, 03 Apr 2004 18:36:25 +0000	[thread overview]
Message-ID: <1081017385.14089.96.camel@matt> (raw)
In-Reply-To: <1080968284.14089.88.camel@matt>

> > 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?
> 
> Assume that user A logs in, starts a background process, and logs out again. 
> Now user B logs in. The background process of user A would continue to have 
> the privileges associated with the console group afaik. That may be a 
> problem.

Good point.  I suppose adding and removing ACLs (on a filesystem that
supports it) might be a better solution.

In the mean time, I guess I'll use remove all of the entries from
console.perms, set all of the devices as root.console and keep the
console group definition static with both of my local users.

Have any of the desktop environment groups put any thought into how this
stuff might work long-term?  I'm pretty certain the gdm multiple-login
feature is going to be popular, potentially causing a few headaches like
I'm having (though my case is just two X sessions on Ctrl+Alt+F7/F8).

Thanks for the info,
-- 
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

  parent reply	other threads:[~2004-04-03 18:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2004-04-05 15:35 ` Bill Nottingham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1081017385.14089.96.camel@matt \
    --to=matt@aclaro.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).