Log in with a password

I have not enabled auto login, but I can still log in to my account without entering my password. I want to turn this option off and let Ubuntu ask me for my password before logging in. This is only the case with one account. I believe it's the root account that has this no password option enabled I am using Ubuntu 13.10.

Thanks in advance!


Solution 1:

It sounds like you enabled passwordless login (which is different from auto-login). This is controlled by membership of the nopasswdlogin group, so you should be able to disable it by removing your user from that group, e.g. using the command

sudo gpasswd --delete username nopasswdlogin