[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing framebuffer device owner during login



On Sat, Jun 16, 2001 at 10:23:34PM +0200, Wichert Akkerman wrote:
> revoke will close all filehandles from all processes associated with a
> device (permissions granting). This would fix the above problem:
> at logout you could do revoke("/dev/XXX") which would fix this problem.
Wouldn't something along the lines of

    lsof /dev/XXX | awk 'NR>1 { print $2; }' | xargs kill

do?  And how are the /dev/tty* devices handled?
They seem to change owners and permissions.

> > Where can I learn about this?
> File a bugreport on base-passwd to include a commented list of
> users and groups (I've been meaning to write that anyway).
That would be a duplicate of #50304 :-)

Jochen
-- 
                                         Omm
                                      (0)-(0)
http://www.mathematik.uni-kl.de/~wwwstoch/voss/privat.html



Reply to: