GNOME Bugzilla – Bug 602110
Patch to allow users without password
Last modified: 2009-11-18 23:32:38 UTC
Created attachment 147905 [details] [review] Patch which corrects the password check to allow users without passwords GDM 2.28 allows users without passwords to login (but hopefully not via xdmcp, I didn't tested it). I've attached a patch to make gnome-system-tools use this feature, so you won't need the 'passwd -d <username>' command anymore.
Well, thanks for the patch, but I'm really not sure we want to allow this by default. As you may have noticed in the code, the check was added on purpose, because we don't want accounts without any password. Instead, allowing people to log in without entering their password is now supported, and it should remove the need for this patch. This was bug 414862 in the gnome-system-tools. In Ubuntu, this has not been enabled, but a bug is opened, which should allow password-less logins. See https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/393854 I hope you understand my (and our, I did not write this code) position and that matter. GNOME is more secure than Windows, and this kind of detail is part of the explanation. I think we can be both secure and user-friendly (see the full rationale on the bug). Since you got to the point where you could hack the sources of the gnome-system-tools, we'd be happy to work with you if you find other places for improvements. users-admin is currently undergoing a major UI rework, and other things are changing too. Don't hesitate to step in!