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 733619 - Cannot set password for user with passwordless login
Cannot set password for user with passwordless login
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: User Accounts
3.10.x
Other Linux
: Normal major
: ---
Assigned To: Ondrej Holy
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-07-23 18:01 UTC by André Klapper
Modified: 2014-08-07 09:53 UTC
See Also:
GNOME target: ---
GNOME version: 3.9/3.10


Attachments
allow password changing if old password isn't set (1.77 KB, patch)
2014-07-26 17:29 UTC, Ondrej Holy
committed Details | Review
allow password changing if old password is empty (1002 bytes, patch)
2014-07-26 17:31 UTC, Ondrej Holy
committed Details | Review

Description André Klapper 2014-07-23 18:01:21 UTC
Fedora 20, up-to-date.

1. Install Fedora 20 and set up only one user, without password for login.
2. Boot into Fedora 20 and realize that gnome-shell crashes on that machine.
3. sudo yum install gnome-classic-session
4. Reboot. 
5. Realize there is no way to choose the session type (bug 696615). Bleh.
6. Hence try to set a password under gnome-control-center > Users.
7. Click "None" button next to "Password" to set one
8. In "Change Password" dialog, you leave the "Current password" field empty.
9. Realize that the "Change" button never gets enabled so you cannot even 
   set a password of the user.
Whoah.
Comment 1 Ondrej Holy 2014-07-26 17:28:20 UTC
Thanks for the bug report. 

The option to create user without password should be removed from anaconda 
and password-less login should be implemented to allow login without password (Bug 679745, Bug 633015). All users should have passwords, see comment:
https://bugzilla.gnome.org/show_bug.cgi?id=633015#c5
Comment 2 Ondrej Holy 2014-07-26 17:29:54 UTC
Created attachment 281784 [details] [review]
allow password changing if old password isn't set
Comment 3 Ondrej Holy 2014-07-26 17:31:36 UTC
Created attachment 281785 [details] [review]
allow password changing if old password is empty

Also password could be empty, so there is another patch to fix...
Comment 4 Rui Matos 2014-08-02 16:32:04 UTC
Review of attachment 281784 [details] [review]:

ok
Comment 5 Rui Matos 2014-08-02 16:38:57 UTC
Review of attachment 281785 [details] [review]:

ok
Comment 6 Ondrej Holy 2014-08-07 09:52:35 UTC
Comment on attachment 281784 [details] [review]
allow password changing if old password isn't set

commit f904756f74d4d9d01690e7f10746f8135e13c5a4
Comment 7 Ondrej Holy 2014-08-07 09:52:51 UTC
Comment on attachment 281785 [details] [review]
allow password changing if old password is empty

commit 0aff10e509079987df36b077c5323327c29543b3
Comment 8 Ondrej Holy 2014-08-07 09:53:10 UTC
Thanks for the reviews!