Zeus provides a utility to manipulate .htaccess password files as partof the standard Web Server distribution. SeeZEUSHOME>/web/bin/htpasswd.
For example, if you construct a text file of "user:plaintext password"pairs that you want to form a new .htaccess file from, e.g.
fred:secret bill:foobar
Then something as simple as the following shell script can be used to create an.htaccess version of the file with encoded passwords:
for i in `cat myfile` do USER=`echo $i | cut -f1 -d':'` PASS=`echo $i | cut -f2 -d':'` $ZEUSHOME/web/bin/htpasswd -c htaccess_file $USER $PASS done