View Full Version : network access restriction
02-22-2007, 04:49 PM
I like to switch graphically between 3 different login accounts (2 admin and 1 standard) but dont want one of the admin accounts to have any network access, mainly due to my temptation for wasting time online.
I dont want to remove the browser program (firefox) from this account as a workaround because I use it for working offline
Turning wifi on and off seems to apply the switch globally to all 3. Is there a way around this from the command line?
02-22-2007, 05:31 PM
Anything you can do from the command line can just as easily be undone. Why not just set Firefox to work offline? (File Menu)
02-22-2007, 06:02 PM
under parental controls in tiger you can restrict applications to user accounts. Not sure how well it would work on an admin account considering an admin account could just re enable everything for itself.
02-22-2007, 07:13 PM
I suppose you could use a login/logout hook to disable/enable the wifi network, though I'm not sure if these would work with fast user switching.
I think you'd be better off paying one of your colleagues to punch you in the nuts if they catch you procrastinating.
02-22-2007, 07:14 PM
Maybe something along the lines of a script to constantly poll (once every 30 seconds) which account is active and bringing up a total firewall and then dropping it as needs be?
02-22-2007, 07:35 PM
I think you'd be better off paying one of your
colleagues to punch you in the nuts if they catch you procrastinating.
I laughed at this a lot, but with my co-workers that would just start a ball punching war, and then no one would be productive hahaha.
02-22-2007, 08:21 PM
I like the sound of that too, but I hop around free wifi cafe's and that would involve asking complete strangers to do the dirty on me, but at least they'd get weirded out the place and i can hog all the bandwidth...
I looked at ps -Av but see no reference to user currently logged in. Anything I'm missing, (surely there's a script in the making here)
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.