The interactive password length check is a nice touch, but shouldn't no password at all cause a message more like' Enter a root password'?
The screen already says that you are to enter a root password. Technically,
with nothing typed into the password boxes, the root password is too short,
especially considering that no password is a valid thing for user accounts.