in reply to Re: need to auto generate user/password info
in thread need to auto generate user/password info
I just call passwdgen to generate my passwords. It may not be as portable but it does offer a ton of flexibility.
sub generatePassword { my $password = `passwdgen -pa --length=6`; $password =~ s/Your password is: (.*)/$1/; chomp $password; return $password; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: need to auto generate user/password info
by b10m (Vicar) on Jun 20, 2004 at 15:01 UTC | |
by Seumas (Curate) on Jun 20, 2004 at 20:34 UTC |
In Section
Seekers of Perl Wisdom