Re: Unix Password Encryption Procedures

From: Casper H.S. Dik (Casper.Dik_at_Sun.COM)
Date: 09/28/04


Date: 28 Sep 2004 15:30:38 GMT

kushal.agarwal@gmail.com (Kushal Agarwal) writes:

>So basically you are saying that crypt should be able to figure out
>what algorithm was used, if I just hand it the entire hashed string.

Correct.

>In terms of calling PAM, would I have to create my own module to
>authenticate users, or will I be able to use a predefined module?

If you want different password encryption then you need
to change crypt(). This is why Solaris has a pluggable
crypt implemenation; you can define your own algorithms.

Casper