FS#75880 - [expect] mkpasswd name clash
Attached to Project:
Arch Linux
Opened by Gerd v. Egidy (gvegidy) - Sunday, 11 September 2022, 19:39 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 14 September 2022, 16:27 GMT
Opened by Gerd v. Egidy (gvegidy) - Sunday, 11 September 2022, 19:39 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 14 September 2022, 16:27 GMT
|
Details
Description:
expect comes with the tcl script mkpasswd, packaged to /usr/bin/mkpasswd. It creates passwords with a random generator and can optionally use passwd to set them. Unfortunately the name mkpasswd clashes with the program of the same name which is part of the whois package (https://github.com/rfc1036/whois). The mkpasswd of whois takes a password and hashes it with a selection of available hash algorithms. It's output can then be inserted into /etc/shadow or htpasswd files. This name clash currently prevents both programs being available in Arch. Using the whois mkpasswd and manually writing the output to shadow is currently often the only way to use advanced hash algorithms like yescrypt for hashing system passwords, as the pam stack used by passwd hasn't caught up yet. So making the whois-mkpasswd available is useful. Other distributions have renamed the tcl script from expect to "mkpasswd-expect", for example Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1649456 I would suggest to do the same in Arch. Once this is done, mkpasswd from whois can be enabled and packaged. Additional info: * package version(s): expect 5.45.4-3 |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Wednesday, 14 September 2022, 16:27 GMT
Reason for closing: Fixed
Additional comments about closing: expect 5.45.4-4
Wednesday, 14 September 2022, 16:27 GMT
Reason for closing: Fixed
Additional comments about closing: expect 5.45.4-4