How can I delete a user from a single FreeBSD machine?

See man rmuser.

I've also seen postings on the mail archive that give you these manual steps. They don't seem as complete as rmuser, however.

  1. Remove them from the password file. To do this, use vipw.
  2. Remove them from any groups they are in by editing /etc/group. If they have their own group then delete it.
  3. Remove their home directory as needed. (/home/username)
  4. Delete their mail file if it exists. (/var/mail)

David Ott 4/3/99