httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff White" <jlw...@earthlink.net>
Subject Re: [users@httpd] Creating a password from an excel or text file
Date Thu, 11 Sep 2003 17:00:47 GMT
From: "David"

> Hi!!
>
> I understand to create a user ID and password for the basic
> authentication for my web server requires me to enter the each and
every
> user name-password sets from the command prompts.
>
> Suppose I have some 250 user accounts with different passwords to be
> created. How can I do this ?  Can I tell htpasswd.exe  to read the
user
> ID and password information from the file (say an Excel or just a
simple
> text file delimited by tabs).
>

See:

Read a Text File into an Array
http://www.microsoft.com/technet/scriptcenter/filefolder/scrff58.asp

Read Data from a Text File
http://www.microsoft.com/technet/scriptcenter/entscr/scrent11.asp

Then call the password program like below:

Using the below link, skip down to this part:

The ability to run command-line tools

WSH Overview
http://www.microsoft.com/technet/scriptcenter/scrguide/sas_wsh_qlcc.asp

For tons of information and for usage with Excel:

http://groups.google.com/groups?q=excel+read+group:*scripting

http://groups.google.com/groups?q=read+file+group:*scripting

Microsoft Script Center
http://www.microsoft.com/technet/scriptcenter/default.asp

Windows 2000 Scripting Guide
Microsoft Windows 2000 Scripting Guide
http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp

System Administration Scripting Guide - samples scripts
http://www.microsoft.com/downloads/release.asp?ReleaseID=38942

Windows Script Host 5.6 documentation download
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en

Jeff




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message