USERDEL(1M)

NAME
userdel - Delete a user account and related files

SYNOPSIS
userdel [ -r ] login

DESCRIPTION
The userdel command modifies the system account files, deleting all entries that refer to login. The named user must exist.

-r  Files in the user's home directory will be removed along with the home directory itself. Files located in other file system will have to be searched for and deleted manually.

Files
/etc/passwd - user account information
/etc/shadow - secure user account information
/etc/group - group information

SEE ALSO
chfn(1), chsh(1), groupadd(1M), groupdel(1M), groupmod(1M), passwd(1), useradd(1M), usermod(1M)