freebsd-nq/share/examples/removeuser
Wolfram Schneider d2b945efae delete rule 3 (advertising) from copyright
resolve symlinks before removing user's home directory
with /bin/rm -rf <home dir>

Submitted by: Guy Helmer <ghelmer@alpha.dsu.edu>
1996-08-11 13:03:25 +00:00
..
README.removeuser delete rule 3 (advertising) from copyright 1996-08-11 13:03:25 +00:00
removeuser.8 delete rule 3 (advertising) from copyright 1996-08-11 13:03:25 +00:00
removeuser.perl delete rule 3 (advertising) from copyright 1996-08-11 13:03:25 +00:00
TODO import removeuser from Guy Helmer 1996-07-10 22:29:30 +00:00

Here lies removeuser(8) for FreeBSD 2.x.  It will remove a user's
password entry, home directory, and incoming mail file from /var/mail.

Install removeuser.perl into /usr/local/sbin, /usr/sbin, or where ever
you like; install removeuser.8 into /usr/local/man/man8 or where ever. 
I suggest these commands to install it:

install -c -o bin -g bin -m 555 removeuser.perl /usr/local/sbin/removeuser
install -c -o bin -g bin -m 444 removeuser.8 /usr/local/man/man8/removeuser.8