We have a bunch of xp machines connected to a fedora server acting as pdc. I want to restrict users to different amounts of time per day, and so far have netlogon and logoff scripts running that update a perl script on the server loggin the logon and logoff.
This script in turn updates how many hours they have used. What I want now is a way of kicking the loggin out the users from the xp machines if they reach there time limit...the way I thought to do this is have a perl script running every minute (from cron) that checks there time left against a database. If they have reached there time limit it runs a remote script on the xp machine that logs them out and the disables there account.
Am I thinking along the right lines or am I barking up completely the wrong tree? I just can't think of a more elegant solution....any suggestions welcome