Greetings, OK, I'm clueless.. Clue Bats gleefully accepted. Can anyone enlighten me as to why either of these: #!/usr/bin/perl $salt = '$1$' . join '', ('.', '/', 0..9,'A'..'Z', 'a'..'z')[rand 64, rand 64]; # one.. print crypt('Foo',$salt) . "\n"; # two.. use Crypt::PasswdMD5; print unix_md5_crypt('Foo',$salt) . "\n"; __END__ Produce this: $1$Vv$Lqurj1.e0d9ZGHQPXeXpQ1 But the results aren't equivalent to the same password generated on a SuSE machine with pam md5 enabled for passwords: $1$AQlpW4Gt$MyR9lMWDoyjyRwP7n6r0C1 Is there a way to arrive at the equivalent in Perl? (I realize this isn't clp.misc but someone here is bound to know.. right? :-)) -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies.