Is possible, but it's not what i want. Imagine that i go to the cafe, i pay for two hours, but i only use one. Tomorrow a go to the cafe again and i would like to use the hour that i didn't use today.
I guess i will have to write a program for myself :-(


Sorry if I seem a little scrambled here.

Do some searches and make sure that there are no scripts for this already written that are available online.

If you implement single signon authentication from a LDAP database, you might add some fields to the users record and then create a cron script that periodicaly checks for logged in users who's time has expired. This could all be done on the central server. If you set up SSH for trusted host authentication you can use a central script to throw commands on the client machines from remote.

-OR-

You could use a script or two in conjunction with the "at" daemon. In the user's home directory you could keep a file which is not accessible to the actual user. This file could contain the amount of time remaining, if any at the end of the last logoff. When the user logs in the script loads the value in the file and does a little math to figure out when the user should be logged off. Then the script takes that information and sets up a run of your logoff script for the user in question "at" the calculated time. There is a setup out there somewhere called "something" dialogue (kdialogue?) which can be used to send notifications and warnings to the user from a script.





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to