I have a user which has no sudo rights. I have set the password for the user using cli. But when I logout and try to login again, the user is not asked for a passord and logs in as soon as the username is clicked in the GUI.

Has anyone faced this issue?

Using lightdm.

As part of troubleshooting I added a new user and set its password through GUI and when I logged in again I was asked for a password. But my 1st user could still login without a password.

Any insight is appreciated.


Not sure where its located in 14.04 but if you go to Settings - Users and Groups then select the user that can login without a password and where it says Password click Change. In 16.04 there is a checkbox for Don't ask for password on login If that is checked .. uncheck it and that should take care of the problem

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.