#!/bin/sh

if  [  "$UID"  ==  0  ];  then

  if  [  -z  "$1"  ];  then
    read  -p  "Username: "  DEADDUCK
  else
    DEADDUCK=$1
  fi

  userdel   $DEADDUCK

else

  su  -  -c  "PATH=$PATH  $0  $1"

fi

