Killer

Killer is a very simple script which is designed explicitly for a school environment where games are restricted during school hours. Killer attempts to “reason” with students - the first violation, a warning is given, the second warning, a stronger warning is given. Eventually, if the user persists in playing games, the game will be deleted forcefully (including any related DMG) and the user is logged out. The system is not designed to be completely robust - i.e. a persistent user can bypass it, however it will stop the majority of students playing games during school hours.

<note warning>This script is currently incomplete and may require hacking to get it to work!</note>

Installation

There is a package installer available.

Configuration

The package installer installs a configuration file into /etc/killer.conf. This configuration file contains patterns for software which should not be played during school hours.

Here is an example configuration file.

--- 
patterns: 
- !ruby/regexp /MacOS\/Quinn/i
- !ruby/regexp /MacOS\/SuperTux/i
- !ruby/regexp /MacOS\/TuxRacer/i

The configuration patterns match lines in the output of ps axww -o user,pid,command command, which lists all processes currently running on the system.

Source Code & Downloads

 
tools/killer.txt · Last modified: 2009/04/04 01:38 by samuel
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki