consolekit and user groups

Scott James Remnant scott at canonical.com
Wed Jan 21 08:12:38 PST 2009


On Wed, 2009-01-21 at 07:37 -0800, Yan Seiner wrote:

> > Should I stand up, and log out, the ACL will be removed and I will
> > instantly lose access to that drive.  I can't ssh in later, or sit in
> > another seat, and get access again.
> >   
> This sounds like exactly what I am trying to do!
> 
> So set you
> 
> setfacl /dev/cdrom
> 
> at login (I'm thinking via gdm PreSession) and then when you log out it 
> automagically goes away?  Or do I have to do setfcl again to remove the acl?
> 
> That sounds a lot simpler than consoleKit!   Yippeee!  :-)
> 
Actually, the above is automatically managed for me.  HAL sets ACLs on
new devices based on PolicyKit authorisations, which include a
ConsoleKit "at the same seat" test.

Scott
-- 
Scott James Remnant
scott at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20090121/9ff35ca9/attachment.pgp 


More information about the hal mailing list