I just imported user accounts for from a list using a script. However the names on the script we just learned were created wrong by the programmer. We are talking 800+ accounts. What is the best way to delete them? All of the UIDs are in order, if I delete the users from the /etc/passwd file, and then delete the home directories will this be sufficent. I am trying to avoid using userdel -r username for each account.
Server is Slackware 10.1 running sendmail