From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Love Date: Thu, 04 Mar 2004 05:28:53 +0000 Subject: Re: $local and user change Message-Id: <1078378133.2892.24.camel@localhost> List-Id: References: <200403031337.04427.dev@gioelebarabucci.com> In-Reply-To: <200403031337.04427.dev@gioelebarabucci.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, 2004-03-03 at 07:37, Gioele Barabucci wrote: > The $local change is nice, but I have one question about it: > > user "joe" plugs his usbkey (or pccard) and use it. > Then logs out and "jack" logs in. Jack can't use the key (correctly owned by > "joe", other users should not be able to read it) and can't even remove it > (need to umount to avoid hw problems). > > How should one solve this problem? You need to use something like pam_console to change certain device nodes at login/logout. With udev, we need both solutions (a login/logout solution and a dynamic solution like $local). Robert Love ------------------------------------------------------- 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_id70&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