Re: Automatic Password Generator Tools on Unix Platform
"Artem I. Taryanik" <[email protected]>
| Newsgroups | gmane.comp.security.linux |
|---|---|
| Message-ID | <000a01c5ee7f$1b4fd080$acafca55@assasped1htxt4> |
Hi!
#!/usr/bin/perl
my @chars = ('A'..'Z', '0'..'9', 'a'..'z', '_');
my $len = 8 + int(rand(4));
my $rpass = '';
for(my $i = 0; $i < $len; ++$i) {
$rpass .= $chars[int(rand(@chars - 1))];
}
print "$rpass\n"
----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Friday, November 18, 2005 9:33 PM
Subject: Automatic Password Generator Tools on Unix Platform
> Hello, Can someone please help me to find some tool to generate the
> automatic random password tool on Unix platform. I did lots of search on
> web but most of the tools are on Windows platform and not on Unix.
>
> Regards,
> Jay
>