Re: Automatic Password Generator Tools on Unix Platform
From: Artem I. Taryanik (artem_at_taryanik.com)
Date: 11/21/05
- Previous message: Francesca Smith: "Re: Automatic Password Generator Tools on Unix Platform"
- In reply to: j.sonsurkar_at_ixiscm.com: "Automatic Password Generator Tools on Unix Platform"
- Next in thread: Esteban Cerutti: "Re: Automatic Password Generator Tools on Unix Platform"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: <j.sonsurkar@ixiscm.com>, <focus-linux@securityfocus.com> Date: Mon, 21 Nov 2005 11:36:46 +0200
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: <j.sonsurkar@ixiscm.com>
To: <focus-linux@securityfocus.com>
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
>
- Previous message: Francesca Smith: "Re: Automatic Password Generator Tools on Unix Platform"
- In reply to: j.sonsurkar_at_ixiscm.com: "Automatic Password Generator Tools on Unix Platform"
- Next in thread: Esteban Cerutti: "Re: Automatic Password Generator Tools on Unix Platform"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|