Delete the user account named login. If there is also a group named login, this command may delete the group as well, or may leave it alone.
The userdel command is a system administration utility, see Path For System Administration Utilities.
removes files in the user's home directory along with the home directory itself. Files located in other file system will have to be searched for and deleted manually.