Using an SSH client, log in to your server. Switch to the root user: Sudo us -n You can use the userdel command to remove old users. The user's username should be replaced with a dash (-). n Optional: Using the -r option with the command, you may also delete that person's home directory and mail spool.