You should have read the tutorial more carefully. If you look at again, it does tell you how to create this file. Specifically this part:
Quote:
Originally posted by Jadey Now, back in the terminal, type:
sudo htpasswd -c .htpasswd username |
This creates the .htpasswd file. The tutorial was written for not having one in the first place, as they don't come in a default Apache install.
I should point out to that the -c option guarantees you overwrite an existing .htpasswd file. If you want to add new users to an existing .htpasswd file, use the same command and drop the -c.
To answer your next question, you can open the .htpasswd file with a text editor. You'll see it in the form of:
username:encryptedpassword
If you want to delete one of the users, just delete the one line that is for them, and save the .htpasswd file.