http://qs321.pair.com?node_id=198623


in reply to Re: Re: MD5?
in thread How to use MD5?

This sets the password to the hex-encoded MD5 digest of the password (which eventually gets encoded using some variant of crypt before making it into your /etc/passwd). So it would "work", except that instead of typing the actual password at the prompt, you'd need to type in the MD5 hash. I doubt this is what you want.

Replies are listed 'Best First'.
Re: Re: Re: Re: MD5?
by pmme (Initiate) on Sep 17, 2002 at 20:16 UTC
    not realy, so how would i get round this?
      That depends on how you're using the password. Are you trying to encrypt the password in Perl and then include it in a command line? If so, what is that command line? Specifically, are you going to be sticking the crypted password into a passwd file directly, using Perl, or are you using some other utility (like adduser or htpasswd) to modify the passwd file? What is the actual problem you're aiming to solve?