]> git.ipfire.org Git - thirdparty/shadow.git/commit
* lib/prototypes.h, libmisc/salt.c: Add parameters to
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 20 Nov 2007 09:33:52 +0000 (09:33 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 20 Nov 2007 09:33:52 +0000 (09:33 +0000)
commit0b695f5a762c59eb270c40faac6cbfdacd567a7f
treeb01b8b33992b2889182f6addc9a4948ed4bfba57
parenteb23bbfd988855cb5643ece26c101e39a28b75f4
* lib/prototypes.h, libmisc/salt.c: Add parameters to
  crypt_make_salt to force the crypt method and number of rounds.
* libmisc/salt.c: Add parameter to SHA_salt_rounds to force the
  number of rounds.
* libmisc/salt.c, lib/getdef.c: ENCRYPT_METHOD and MD5_CRYPT_ENAB
  are needed also when USE_PAM (e.g. for chpasswd).
* src/newusers.c, src/gpasswd.c: Use the new crypt_make_salt prototype.
* src/chpasswd.c, src/chgpasswd.c: Add option -c, --crypt-method
  and -s, --sha-rounds to specify the crypt method and number of
  rounds in case of one of the SHA methods. The new prototype of
  crypt_make_salt simplifies the handling of -m, --md5.
ChangeLog
lib/getdef.c
lib/prototypes.h
libmisc/salt.c
src/chgpasswd.c
src/chpasswd.c
src/gpasswd.c
src/newusers.c