[Pkg-shadow-devel] Small fixes in salt.c, chpasswd.c, chgpasswd.c

Nicolas François nicolas.francois at centraliens.net
Fri Nov 23 13:09:12 UTC 2007

On Fri, Nov 23, 2007 at 01:12:11PM +0100, Dan Kopecek wrote:
> Hi,
>  this patch adds a function for generating salt of given size and fixes
> few bugs.

Thanks a lot.
I will commit it tonight.

I will probably also:
 * move the srandom call from crypt_make_salt to gensalt
 * replace the if in gensalt by an assert

BTW, did you try chpasswd/su with the SHA256 or SHA512 algorithms?

I still have to install a newer libc to test it (I plan to do it this

Best Regards,

More information about the Pkg-shadow-devel mailing list