#!/bin/sh
[ $1 = "" ] && exit

cat /etc/passwd | sed -e "/^$1:/ d" >/etc/passwd.tmp
mv /etc/passwd.tmp /etc/passwd
rm -rf /home/$1

