To remove a user, you first remove all his files, and then remove the relevant lines from /etc/passwd and /etc/group . Some Linux distributions come with special commands to do this; look for deluser or userdel . However, it is easy to do it by hand as well.