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. 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. Robert Love