After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 602110 - Patch to allow users without password
Patch to allow users without password
Status: RESOLVED NOTABUG
Product: gnome-system-tools
Classification: Deprecated
Component: users-admin
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: system-tools-maint
system-tools-maint
Depends on:
Blocks:
 
 
Reported: 2009-11-16 16:01 UTC by memolus
Modified: 2009-11-18 23:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch which corrects the password check to allow users without passwords (430 bytes, patch)
2009-11-16 16:01 UTC, memolus
rejected Details | Review

Description memolus 2009-11-16 16:01:46 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.
Comment 1 Milan Bouchet-Valat 2009-11-16 17:45:07 UTC
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!