How to create a user account without a password?

Long time ago, probably more than 10-15 years ago, I could create a user account without a password. I have since migrated my whole setup through many generations of hardware and updates to MacOS and still have an account that doesn't have a password (you just click on it and it logs in directly alternatively you enter the name and press enter, no password needed).

However, since many years the UI used to create a new user doesn't allow you to leave the password field empty.

How can I, using a current version of MacOS, create another account like my old password-less account? From the command line or the UI.

Alternatively, can I remove the password from an existing account?

I have looked into this before and found instructions, which I think I followed, unsuccessfully, to use the Netinfo Manager (this is oooold!), dscl etc, so far to no avail

How to create a user account without a password?
 
 
Q