To delete user in linux first login as root using using
su - then provide root password after login use command
userdel -r user_name.
userdel command is used to delete ther specified user_name
[cse@localhost ~]$ su -
[root@localhost ~]# userdel -r manish
With userdel -r We delete a user and its home directory and the user´s mail spool.