LWN.net Logo

revoke() and frevoke()

revoke() and frevoke()

Posted Jul 27, 2006 1:23 UTC (Thu) by joey (subscriber, #328)
Parent article: revoke() and frevoke()

Also very useful for not letting a user keep a daemon open recording from a system's sound card or camera when they're logged out, while still letting them legitimately access them when logged in at the console. AFAIK there's no secure implementation of that for linux currently, so here's looking forward to revoke()!


(Log in to post comments)

revoke() and frevoke()

Posted Aug 3, 2006 16:44 UTC (Thu) by niner (subscriber, #26151) [Link]

Shouldn't this be a fairly simple shellscript?
Just lsof for the device files in question and kill all processes of the logging out user that still have them open.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds