FS#43943 - [shadow] ENCRYPT_METHOD in login.defs is case-sensitive
Attached to Project:
Arch Linux
Opened by Hermann Zahnweh (eigengrau) - Wednesday, 25 February 2015, 08:07 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 15 March 2015, 14:49 GMT
Opened by Hermann Zahnweh (eigengrau) - Wednesday, 25 February 2015, 08:07 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 15 March 2015, 14:49 GMT
|
Details
Description:
As of late, the login.defs shipped with shadow sets «ENCRYPT_METHOD sha512». However, it appears that as least as far as /usr/bin/gpasswd is concerned, this key is case-sensitive, in that gpasswd will fail when «sha512» is set and default to DES. After changing ENCRYPT_METHOD to (all caps) SHA512, gpasswd is happy. Additional info: * shadow 4.2.1-2 Steps to reproduce: > root [ /etc ]# gpasswd test > Changing the password for group test > New Password: > Re-enter new password: > Invalid ENCRYPT_METHOD value: 'sha512'. > Defaulting to DES. |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 15 March 2015, 14:49 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in testing -- shadow-4.2.1-3
Sunday, 15 March 2015, 14:49 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in testing -- shadow-4.2.1-3