For a particular version of Apache, you might have usernames and passwords in a .htpasswd file. Updating the passwords can be done by the following
htpasswd.exe [location of auth file] [username]
htpasswd.exe .htpasswd johnsmith
You will be prompted for a new password to user: johnsmith and the contents of .htpasswd will be updated. Note that the htpasswd.exe file is found in the bin directory under Apache and that it is recommended to use the exact htpasswd.exe file supplied by that version of Apache. Later versions will of course change options for encryption and may even change the format of the file. |