[ConsoleKit] consolekit userid session counters
kay.sievers at vrfy.org
Wed Feb 24 08:52:11 PST 2010
On Wed, Feb 24, 2010 at 03:53, Martin Vogt
<martin.vogt at itwm.fraunhofer.de> wrote:
> is there a mechanism in consolekit which counts the number
> of session for a user?
> I like to run an action if the "user_sessioncounter" reaches zero.
> But if the users login twice and then logouts
> from one session all the permissions are revoked. :(
> An environment variable like
> would be helpful here.
> Is there such a mechanism?
You can read the database, it's an ini-file, and it is dumped before
the script is called.
More information about the ConsoleKit