Ok, this thread is great! I looked over the script, and must admit, I'm not that script capable! I don't understand where you would configure the username and who is limited by this script. How do you set the limited users?
As for content filtering, I personally use opendns.com with ddclient. You do need to setup an account with opendns.com but it works excellent, and I have been very pleased with it.
PSS: Oh, I wrote a very simplistic script that limits user times to 45 minutes for KDE desktop (not quite as intense as this script) here it is if anyone can use it or, make it better:
# This script will log out a user after 45 minutes on the computer, it requires kshutdown to be installed on the machine.
kdialog --title "You have 10 minutes left" --passivepopup "10 minutes remaining" 5
kdialog --title "You have 2 minutes left" --passivepopup "Please start closing all windows" 10
kdialog --title "You have 10 seconds left" --passivepopup "Close all Windows now." 5
timekpr blog with some basic instructions. Read that first then the rest of this thread will make sense to you I think.
Is anyone familiar enough with Edubuntu (Educational Ubuntu) or Ubuntu CE (Christian Edition) to know if something similar is already set up?
Quickly scanning the home page; UbuntuCE "includes fully integrated web content parental controls powered by Dansguardian. A graphical tool to adjust the parental control settings has also been developed specifically for Ubuntu Christian Edition."
Edubuntu has been around a couple years, and their is also
K12 Linux Terminal Server Project
This is based on Read Hat and the LTSP
I'ms sure the school systems have grappled with this problem, perhaps they have a solutuion.
And MAJOR THANKS to .nedberg for his work.
I hope every parent who benefits from his work will consider "tossing him a fin"/ Isn't your child worth it?
Sorry I can't do more legwork, I'm off to the firehouse for my shift.
E Galvan, Lt BFD
EDIT: I had a look at your blog and this seems to be the reason to your problem if that is exactly what you did!
I work at a school myself and this is not something we would use. Why limit the students log in time? dansguardian on the other hand would be interresting.
here you will se that you can create a file at /var/lib/timekpr/<username> to limit an account. In that file you put the total amount of seconds that user is allowed to be logged in each day. A user without a file like this will not be limited.