It is important to note that the usernames and passwords are completely arbitrary -- there is absolutely no correspondence between the usernames and passwords used in your .htaccess file and the usernames and passwords of the same people on the system. For example, if your login name on aegis is jsmith, your username for the .htaccess file could also be jsmith, or it could be Jane. The important thing is to set up usernames that make sense for your site, and then to create passwords for those usernames.
The htpasswd command is used to create the username and password pairs. The full path for the command is /usr/local/apache/bin/htpasswd on most of our systems. Please note that the htpasswd command immediately encrypts every password before writing it to the .htpasswd file.
The output from the htpasswd command is a .htpasswd file with an entry with the form: