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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: MD5?
by fokat (Deacon) on Sep 17, 2002 at 20:56 UTC | |
Re: Re: Re: MD5?
by mdillon (Priest) on Sep 17, 2002 at 20:13 UTC | |
by pmme (Initiate) on Sep 17, 2002 at 20:16 UTC | |
by mdillon (Priest) on Sep 17, 2002 at 20:21 UTC |
In Section
Seekers of Perl Wisdom