When I first installed Ubuntu 11.04 I marked NOT to ask password in login. Then, ofcourse, it didn't ask me password on login. But now I want the OS to ask login password as I have many critical datas stored. I changed the settings to Password: Asked in Login but it doesn't work. My Ubuntu doesn't ask password in login. What should I do now?
I had same problem. Try running this command:
sudo gpasswd -d $USER nopasswdlogin
this should work.
The thing is that my user was in the
nopasswdlogin group. I had to install the
gnome-system-tools which has the GUI to manage users and groups. Then I ran the
users-groups manager and change my user to NOT be part of the
nopasswdlogin group. Problem Solved.
This tutorial explains How to disable password prompts in Ubuntu. In case if you want to enable password prompts, try to do that vice versa