Does anyone know where I can find a htaccess password generator that runs in
Windows and converts based on a file of usernames:passwords? There are many
such generators where you must enter one name:password at a time, but I have
500
members to generate passwords for and I can't face doing them one at a time.
Hopefully there is a free utility that does this. If I must pay for it, kay
sera.
jim
On Fri, 09 Jun 2006 16:09:24 GMT, jim evans <jimsnews@houston.rr.com>
wrote:
>Does anyone know where I can find a htaccess password generator that runs i
n
>Windows and converts based on a file of usernames:passwords? There are man
y
>such generators where you must enter one name:password at a time, but I hav
e 500
>members to generate passwords for and I can't face doing them one at a time
.
>Hopefully there is a free utility that does this. If I must pay for it, ka
y
>sera.
>
>jim
Not completely what you want, but it might help you... Or perhaps you
can amend the form and submit it?
http://www.clockwatchers.com/htaccess_tool.html
Matt
--
Veritas Vincti
http://www.probertencyclopaedia.com
jim evans wrote:
> Does anyone know where I can find a htaccess password generator that runs
> in
> Windows and converts based on a file of usernames:passwords? There are
> many such generators where you must enter one name:password at a time, but
> I have 500 members to generate passwords for and I can't face doing them
> one at a time.
> Hopefully there is a free utility that does this. If I must pay for it,
> kay sera.
$ cat userpassfile.txt
user1:bananas
user2:oranges
someuser:lemons
anotheruser:strawberries
$ cat userpassfile.txt | perl -ne 'chomp;@_=split/:/;print qq!$_[0]:! .
crypt($_[1],$_[0]). qq!\n! if $_[1]'
user1:us.VqtcMg9bNY
user2:us9gkSuV7cRmY
someuser:soFV0I0Kz1vto
anotheruser:anKlqXAj8Rp8Q
That's free.
--
Brian Wakem
Email: http://homepage.ntlworld.com/b.wakem/myemail.png
Brian Wakem <no@email.com> wrote:
>jim evans wrote:
>
>
>
>
>$ cat userpassfile.txt
>user1:bananas
>user2:oranges
>someuser:lemons
>anotheruser:strawberries
>
>$ cat userpassfile.txt | perl -ne 'chomp;@_=split/:/;print qq!$_[0]:! .
>crypt($_[1],$_[0]). qq!\n! if $_[1]'
>user1:us.VqtcMg9bNY
>user2:us9gkSuV7cRmY
>someuser:soFV0I0Kz1vto
>anotheruser:anKlqXAj8Rp8Q
>
>That's free.
Those are unix commands, not Windows. My host does not allow me to Telnet t
o
their servers and I don't know how to issue unix commands another way. Tha
t's
why I'm looking for a Windows utility.
jim
jim evans wrote:
> Brian Wakem <no@email.com> wrote:
>
>
> Those are unix commands, not Windows. My host does not allow me to Telnet
> to
> their servers and I don't know how to issue unix commands another way.
> That's why I'm looking for a Windows utility.
>
Perl will run on almost any OS, including Windows.
Here's a self contained script that does exactly the same.
#!usr/bin/perl
use strict;
use warnings;
my $userpassfile = '/home/bwakem/userpassfile.txt';
open (USERPASSFILE, "< $userpassfile") or die "Cannot open userpass file -
$!";
while (<USERPASSFILE> ) {
chomp;
next if !$_;
my ($user,$pass) = split/:/;
print qq!$user:! . crypt($pass,$user). qq!\n!;
}
close USERPASSFILE;
--
Brian Wakem
Email: http://homepage.ntlworld.com/b.wakem/myemail.png
Brian Wakem <no@email.com> wrote:
>Perl will run on almost any OS, including Windows.
>
>Here's a self contained script that does exactly the same.
><snip>
Thank you very much. It does what I need perfectly.
jim