Why is the maximum length of OpenWrt’s root password 8 characters?

This is because DES-based crypt (AKA ‘descrypt’) truncates passwords at 8 bytes, and only checks the first 8 for the purpose of password verification. That’s the answer to your direct question, but here’s some general advice implied by your context: Fortunately, from my reading, MD5 in /etc/login.defs is actually md5crypt ($1$), which, while a little … Read more