mariodebian <[EMAIL PROTECTED]> writes: >Try this: > >#!/bin/bash > >if [ "$1" = "root" ]; then > echo "Can't kill root" > exit >fi > >pkill -9 -u "$1" >======================== > > >"pkill -u" kills all process of username (see man pkill)
Now that's a good idea....similar to the "purge users" script in K12LTSP David N. Trask Technology Teacher/Director Vassalboro Community School [EMAIL PROTECTED] (207)923-3100 -- edubuntu-devel mailing list edubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-devel