userdel command-delete user

You can delete a user with the userdel command . Run with root privileges with sudo.

sudo userdel kimoto
sudo userdel kimoto

Rest assured that the contents of your home directory and emails will not be deleted.

If this user was using the process, it cannot be deleted.

You need to do it when the user isn't using the process, or check the process and kill it if it's okay to kill it.

#Check process
ps -ef

Other user management operations

Add user.

User list.

Associated Information