On Sat, 2002-09-28 at 16:02, Tom Hoover wrote: > I'm in the process of converting the computers on my home network from > standalone PCs to LTSP terminals. Previously, I could limit the times > that my kids could access email, web and instant messaging thru a > combination of firewall rules and the squid proxy (based upon the IP > addresses of their computers). Now that I'm booting the machines as > terminals, and they're logging into _my_ machine (the application > server), they have the same IP address as me. This prevents me from > limiting their online times via the previous method. > > Question #1: is there a way for me to limit the times during which they > can login via the LTSP terminals? Yes, you can use the PAM module called pam_time.
> Question #2: is there a way to "boot them off" if they attempt to stay > logged in after a certain time (i.e. their bedtime)? I might use a simple cron job to run a simple script: run `who`, compare this to the list of children and their bedtimes. If someone's in past bedtime, send an email to mom and dad, then kill their session. If homework is an excuse for staying up, you will need to stop the script (edit the cron table) before they get booted. > Question #3: Or, is there a simple way to limit the programs that they > can run during certain times (I could then allow them to stay "logged > in", but limit their use of the specific programs when they should be in > bed). One simple way I can think of now is to put a wrapper around each program that's likely to be an issue. The wrapper checks the program name, user name, and time of day against a table. You could either have a "silent alarm" (start the program, but email/page you) or not (play a recording of your voice saying, "Tom, GO TO BED RIGHT NOW!" over the speakers). Also, their's no reason you can't continue to use your old Squid config. If you need to, you can run a second copy of Squid on a different port for the grownups. -David ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.openprojects.net
