From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 27 Feb 2004 17:37:07 +0000 Subject: Re: udev - TODO update Message-Id: <20040227173707.GB9584@kroah.com> List-Id: References: <20040212234538.GC21117@vrfy.org> In-Reply-To: <20040212234538.GC21117@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Feb 26, 2004 at 08:36:38PM -0500, Robert Love wrote: > On Thu, 2004-02-26 at 20:27, Robert Love wrote: > > On Thu, 2004-02-26 at 20:00, Greg KH wrote: > > > > > And how does a program determine the "current local user"? > > > > utmp. > > Here is an example. Just stick this code where we do the chmod(), and > invoke it if the user is $local or whatever. Oh come on. You are so close to actually writing a patch that we can use for udev that it's not even funny :) Care to? > The purpose being we want certain devices to be owned by the local > user. Obviously we also need to do some stuff on login/logout, but > consolehelper will do that for us. Oh I agree it's something that distros will want to use. And how does pam come into play here? Doesn't it allow us to do some of this for us? thanks, greg k-h ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&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