Completely remove user accounts on linux for security:
Show all User account:
cut -d: -f1 /etc/passwd
Kill all programs running by this user:
killall -u <username>
Delete the user, all the user’s files and folders will also be deleted:
userdel -r <username>