GDM - Bogus Auto Login

Asked by Alan Pater

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:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Is there a password set for the second user?

Revision history for this message
Alan Pater (alan-pater) said :
#2

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

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

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

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

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

Revision history for this message
Alan Pater (alan-pater) said :
#5

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

Revision history for this message
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.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

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

:D

Glad you got the gold