doing some spring cleaning....

USERS="me you jim joe sue"
for user in ${USERS}; do
rmuser -p $user
usrdir=`cat /etc/passwd|grep $user|awk -F":" '{ print $6 }'`
rm -fr `cat /etc/passwd|grep $user|awk -F":" '{ print $6 }'`
echo Deleting: $user '\t' REMOVING: $usrdir

This is for AIX ONLY!!! but easily ported to solaris.

just deletes the list of people in the USERS variable. i am sure everyone has something like this. so i would just post it for those who dont.

do you have anything you wanted to post that helps in your spring system cleaning?