GDM - Bogus Auto Login

Asked by Alan Pater on 2011-08-25

After experimenting with Auto-Login I am now trying to disable it. There are 2 users on this system, I have set GDM to wait for one to be selected for login. If I select the first user, I get a password prompt. But if I select the second, the user is automagially logged on without a password.

Where is this autologin being taken from. I checked the GDM configuration, bo the GUI and the config file:

~$ cat /etc/gdm/custom.conf

[daemon]
TimedLoginEnable=false
AutomaticLoginEnable=false
TimedLogin=
AutomaticLogin=
TimedLoginDelay=12
DefaultSession=gnome-2d

So there must be someplace else that is holding onto the autologin configuration. Where? And why can't the autologin be removed via the gui?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gdm Edit question
Assignee:
No assignee Edit question
Solved by:
Alan Pater
Solved:
2011-08-25
Last query:
2011-08-25
Last reply:
2011-08-25

Is there a password set for the second user?

Alan Pater (alan-pater) said : #2

Yes, both the second and first user accounts have passwords.

If you move the file elsewhere, you should then use the default config, may help

You can always move the file back if it's no good

Alan Pater (alan-pater) said : #5

Removing the gdm custom.conf file did not make any difference. Nor did changing the user password.

Alan Pater (alan-pater) said : #6

Found it!

http://ubuntuforums.org/showpost.php?p=10389124&postcount=4

The user account had the "never ask for a password" field checked. Removing that check mark fixed the issue.

Great share, hopefully this will help others who find this when they have the same issue

:D

Glad you got the gold