[FS#3816] 21.02-SNAPSHOT - Building with LXC-Support breaks passwd (and something else?)

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Wed May 19 06:48:51 PDT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3816 - 21.02-SNAPSHOT - Building with LXC-Support breaks passwd (and something else?)
User who did this - Jo-Philipp Wich (jow-)

----------
> root:$2a$13$o6uIc/e...

This is a bcrypt hash which is not supported by musl libc unless you disable the crpyt size hack option during build. Normally, the builtin busybox `passwd` applet will only generate MD5 hashes (starting with "$1$..."). Did you maybe include something like the full shadow suite in your build? This could explain your troubles.

You can likely solve the issue by rebuilding with the following option enabled in menuconfig:

[*] Advanced configuration options (for developers)
 -> [*] Toolchain Options
    -> [*] Include crypt() support for SHA256, SHA512 and Blowfish ciphers


----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3816#comment9689

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list