Re: Limit access to msn to a couple of hours a day

2005-06-29 Thread phpmechanic
Nick Holland wrote: Assuming you want to limit time-per-day, but don't care when, how about this: Use authpf to control and track usage. In order for the user to actually get access to the "regulated" sites, they must first state their intention by running authpf to open access to that site.

Re: Limit access to msn to a couple of hours a day

2005-06-28 Thread Steve Shockley
phpmechanic wrote: Yeah the five minute solution is more along the lines of what I'm thinking. I'd also have to add a menu that can manually control access when I need to. I could write a bit of vbscript to launch plink and msn together so she has a seemless shortcut on her desktop. Some so

Re: Limit access to msn to a couple of hours a day

2005-06-28 Thread Han Boetes
Alexander Farber wrote: > 2005/6/28, Nick Holland <[EMAIL PROTECTED]> : > > (note: grepping the output of "ps -ax" is a starting point...but > > remember: sometimes the you will pick up the grep line itself in ps...) > > a trick for that problem is to use a (seemingly useless :-) pair of brackets:

Re: Limit access to msn to a couple of hours a day

2005-06-28 Thread Bakken, Luke
Nick Holland wrote: > (note: grepping the output of "ps -ax" is a starting point...but > remember: sometimes the you will pick up the grep line itself in > ps...) ps -ax | grep '[a]uthpf' This will never catch the grep process.

Re: Limit access to msn to a couple of hours a day

2005-06-28 Thread phpmechanic
Nick Holland wrote: Hm. Well...sounds like trying to use technology to substitute for management, which is not something I agree with. (yeah, I have no kids, so its easy for me to talk about high ideals when it comes to raising other people's kids. :) Yeah it's something like that and I was

Re: Limit access to msn to a couple of hours a day

2005-06-28 Thread Stephen Marley
On Tue, Jun 28, 2005 at 04:36:07PM +0200, Alexander Farber wrote: > Hi Nick, > > 2005/6/28, Nick Holland <[EMAIL PROTECTED]>: > > (note: grepping the output of "ps -ax" is a starting point...but > > remember: sometimes the you will pick up the grep line itself in ps...) > > a trick for that probl

Re: Limit access to msn to a couple of hours a day

2005-06-28 Thread Alexander Farber
Hi Nick, 2005/6/28, Nick Holland <[EMAIL PROTECTED]>: > (note: grepping the output of "ps -ax" is a starting point...but > remember: sometimes the you will pick up the grep line itself in ps...) a trick for that problem is to use a (seemingly useless :-) pair of brackets: ps -ax | grep 'pro

Re: Limit access to msn to a couple of hours a day

2005-06-28 Thread Darren Tucker
Dennis Davis wrote: From: Nick Holland <[EMAIL PROTECTED]> (note: grepping the output of "ps -ax" is a starting point...but remember: sometimes the you will pick up the grep line itself in ps...) [...] so instead write: bahamontes $ ps -ax|grep '[n]tpd' 23336 ?? Is 0:00.11 ntpd: [priv] (

Re: Limit access to msn to a couple of hours a day

2005-06-28 Thread Dennis Davis
>Date: Tue, 28 Jun 2005 09:25:18 -0400 >From: Nick Holland <[EMAIL PROTECTED]> >To: misc >Subject: Re: Limit access to msn to a couple of hours a day ... >(note: grepping the output of "ps -ax" is a starting point...but >remember: sometimes the you will

Re: Limit access to msn to a couple of hours a day

2005-06-28 Thread Nick Holland
Oliver Bode wrote: > Hi, > > I have an openbsd firewall on my home network. > > My daughter has become addicted to msn and I've spoken to her about > restricting the time she spends on it. > > What I want to do is only allow her access to msn for say 1 or 2 hours a > day and enforce this on th

Re: Limit access to msn to a couple of hours a day

2005-06-28 Thread Josh Grosse
On Tue, Jun 28, 2005 at 12:29:12PM +1000, Oliver Bode wrote: > ...My daughter has become addicted to msn and I've spoken to her about > restricting the time she spends on it. A script to schedule allow/block by time-of-day is described in Dru Levigne's "BSD Hacks" (ISBN 0-596-00679-9). It is "Ha

Limit access to msn to a couple of hours a day

2005-06-27 Thread Oliver Bode
Hi, I have an openbsd firewall on my home network. My daughter has become addicted to msn and I've spoken to her about restricting the time she spends on it. What I want to do is only allow her access to msn for say 1 or 2 hours a day and enforce this on the firewall as well. I can block a