in reply to Re: MD5?
in thread How to use MD5?
is there any reason why this wouldn't work then
When i try to log in as bob with the pass of hello, it won't let me in
I know its dodgy running system commands like that, but i stress i just knocked this up real quick to see if it would work.#! /usr/bin/perl use Digest::MD5 qw(md5 md5_hex md5_base64); my $password = 'hello'; my $encrpass = md5_hex($password); system "adduser -p $encrpass bob";
When i try to log in as bob with the pass of hello, it won't let me in
In Section
Seekers of Perl Wisdom