grover66 / kidtimer

Script to manage computer usage by time and schedule.
18 stars 23 forks source link

countdown 5 minutes at each login allow kid to spend more time #23

Open nicopiot opened 7 years ago

nicopiot commented 7 years ago

Hello, I just installed kidtimer, it works pretty well, and I made a suggestion in the pull request. The only problem I found is than when the time is finished, my kid can login again, and she will get another 5 minutes of countdown that she can use. She has done it 5 times this morning which gave her 25 more minutes than allowed. and the user.ttl file was negative -27. Is there a way to logout straight away if say the user.ttl file is below 5. maybe a script file that we manually add in the user $HOME/.bash_profile? sorry if I say stupid things, I am not a programmer at all and also quite new in linux.

Anyway, if someone has a simple fix for that, I would appreciate.

thanks

Nicolas PIOT