You needn't use that program on that server or even use that program at all. It just generates a file with mutiple lines in the format ``username:encrypted-password'', like ``wfaulk:Ki9njd0n''. You can generate the encrypted password by using the standard Unix crypt() function. If you have access to another Unix machine, you can use this source code to generate it:
#define _XOPEN_SOURCE
#include <stdio.h>
#include <unistd.h>
int main(int argc, char *argv[]) {
if(argc<2) fprintf(stderr, "Usage: %s string [salt]\n", argv[0]);
else if(argc<3) printf("%s\n", crypt(argv[1], argv[1]));
else printf("%s\n", crypt(argv[1], argv[2]));
return(0);
}
(or you could just compile the htpasswd program.)