#!/bin/bash if [ "$1" = "root" ]; then echo "Can't kill root" exit fi pkill -9 -u "$1" # EOF