delete_user(7)

NAME
delete_user - Delete a user from the Directory Service database and archive's the user's account

SYNOPSIS
delete_user username

DESCRIPTION
delete_user Consider using the System Preferences > Accounts preference pane to do this instead. The delete_user command must be invoked by an admin user. Takes the account name (short name) and: removes the user from all groups removes the user's primary group (of the same name) removes the user's account in NetInfo archives and deletes the user's home directory in /Users/shortname

SEE ALSO
add_user(7), addgroup(7), delete_user(7), delete_group(7), remove_user_from_group(7), adduser2group(7)

AUTHOR
Obtained and modified from a bash shell script available at http://www.osxfaq.com/tips/unix-tricks/week91/friday.ws

MAINTAINER
W. G. Scott <wgscott@users.sourceforge.net>