timekpr - Keep control of computer usage

timekpr don't work at LinuxMint12

Reported by Matus-milos on 2011-12-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
timekpr
Undecided
Unassigned

Bug Description

I'm trying to make timekpr running on Linux Mint 12. The timekpr runs, but the restricted users are logout only once - it means that the user.time file was increased until max. number of seconds given from /etc/timekpr/user.conf file. Then also user.logout file was created. But it was all. next day the user was able to login into the system again and the user.time and user.logout files remains unattached and user.time file wasn't update anymore.

Any idea how to fix this issue?
Thanks Milos

/etc $ cat timekpr.conf
# This is the configuration file for timekpr

# GRACEPERIOD:
# This is the grace period, where a notification pops up letting the users
# know that their time usage will be over soon.
# Users are given by default 120 seconds to finish up their work.
# Limit is expressed in seconds, e.g. 120 means 2 minutes
# POLLTIME: How often should the script check the timelogs.
# Setting is expressed in seconds, e.g. 45 means 45 seconds.
# DEBUGME: True keeps a logfile, False does not.
# LOCKLASTS: Default lock period
# Setting can be day(s), hour(s), minute(s), month(s) (30 days)
# Example: 5 hours
# TIMEKPRDIR: Default directory for per-user configuration and .lock files
# TIMEKPRWORK: Default working directory for .time, .logout, .late files

[general]
version = 0.2.2

[variables]
GRACEPERIOD = 120
POLLTIME = 15
DEBUGME = True
LOCKLASTS = 1 hour

[directories]
LOGFILE = /var/log/timekpr.log
TIMEKPRDIR = /etc/timekpr
TIMEKPRWORK = /var/lib/timekpr
TIMEKPRSHARED = /usr/share/timekpr

/etc/timekpr $ cat jony
limit=( 2700 2700 2700 2700 2700 2700 2700 )

/etc/timekpr $ cat tofy
limit=( 2700 2700 2700 2700 2700 2700 2700 )

/var/lib/timekpr $ cat milos.time
1860

Matus-milos (matus-milos) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments