password restrictions are different in the GUI and on the command line.

Ralf Mardorf silver.bullet at
Sun Jul 17 15:27:39 UTC 2016

On Sun, 17 Jul 2016 17:14:09 +0200, Ralf Mardorf wrote:
>On Sun, 17 Jul 2016 16:30:38 +0200, s.achterop at wrote:  
>>This because lightdm seems to enforce the stricter rules that are used
>>when setting a password using the GUI.    
>there might be a GUI available to add a user, resp. to chose a
>password and this GUI might recommend or even enforce to chose a more
>secure password, but I doubt that lightdm doesn't work with a simple
>password such as "cat1234", "dog5678" or "12345678", when such a less
>secure password was chosen by command line.
>How did you notice that lightdm doesn't work with a simple
>password, chosen by command line? Did you get a message? Is there an
>entry in the log file saying this?
>You did not enter your simple password, while by accident caps lock was
>active or something like this?  

PS: For some users I have no need for a password at all, so those user's
passwords are not nearly that strong, as the above mentioned passwords.
Sometimes it makes sense to set up a dummy user for testing purpose.
Consider to do the same and chose a really weak and short password and
if lightdm doesn't allow to log in, post the message, log file or what
ever else you get, saying that your password isn't strong enough.

More information about the ubuntu-users mailing list