When I install the Ubuntu, I set a short password(<4). Now I want to change the other short password by "passwd" or change passphrase on "Password and Keys" program, it needs a password >4 char.
By default, Ubuntu requires a minimum password length of 6 characters, as well as some basic entropy checks. These values are controlled in the file /etc/pam.d/common-password, which is outlined below.
If you would like to adjust the minimum length to 4 characters, add the appropriate variable (minlen=4) to the end of the line. The modification is outlined below.
Bring up a terminal and edit /etc/pam.d/common-password
Change this line:
Password also need a certain amount of complexity, as specified by the obscure parameter above.
removes that check also.
This all presupposes that you think this is wise.
These work on my system.
To set up a simple password, I tried the simple
So I tried to remove the
So I also removed the
I do agree that it should be simplier, when acting as