userdel *userToDelete*
# Delete user and remove home and mail spool directory
userdel -r <username>
#to add a user
sudo useradd <username>
#to remove a user
sudo userdel <username>
#to check for users
cat /etc/passwd
#to check for groups
cat /etc/group
#to assign a password to a user
sudo passwd <username>
#to allow the user login without username
sudo passwd -d <username>
sudo userdel username