Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
kisom committed Feb 24, 2011
0 parents commit 6519004
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Inspired by talk in #devious, this is a valuable addition to any BOFH's toolkit.

Randomly searches through a list of logged on users (optionally comparing to a
group of users to exclude), and randomly kills that user's processes. Win!


4 changes: 4 additions & 0 deletions roulette.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import subprocess

def get_random_user(exclude_list):
command = "who | awk '{ print $1 }' | uniq"

0 comments on commit 6519004

Please sign in to comment.