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 316699 - it doesn't let you change your name and it should
it doesn't let you change your name and it should
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: User Accounts
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 625432 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-09-19 13:07 UTC by Sebastien Bacher
Modified: 2010-11-21 03:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
the patch (11.13 KB, patch)
2005-11-16 18:50 UTC, Matthias Clasen
reviewed Details | Review

Description Sebastien Bacher 2005-09-19 13:07:11 UTC
This bug has been opened here: https://bugzilla.ubuntu.com/show_bug.cgi?id=14440

"I noticed that in Breezy there's a new About Me control applet, but there are
some issues:
- it doesn't let you change your name and it should since it lets you fill in a
lot of other information
- when allowed to fill the name, this should also include changing GECOS information
..."
Comment 1 Sitsofe Wheeler 2005-10-25 18:40:58 UTC
Usually you can only change your name if you are root (this is to prevent people
randomly changing their name on multi user systems where that name may be
important I think). This is noted in man chfn and is controlled by /etc/login.defs .
Comment 2 Matthias Clasen 2005-11-16 18:49:15 UTC
Here is a patch which we use in Fedora to make the about me capplet save gecos
information back to /etc/passwd. It also allows to edit the user name.
Note that the patch is not directly applicable, since it relies on the Red
Hat-specific usermode infrastructure to actually save the gecos information (it
spawns /usr/bin/userinfo), but at least it shows my solution for editing the
username with the help of a button and an EelEditableLabel.
Comment 3 Matthias Clasen 2005-11-16 18:50:02 UTC
Created attachment 54833 [details] [review]
the patch
Comment 4 Rodrigo Moya 2006-01-09 17:20:11 UTC
Diego, could you review the patch please?
Comment 5 Diego González 2006-01-10 16:24:30 UTC
Rodrigo, this patch is redhat specific as Matthias said. Matthias also proposed a patch to fix some issues with the password dialog, but once again it is based on some functionality redhat specific. As i said in bug 321567:

I have discovered that Debian has the userpassword/userinfo family of programs in the usermode package. If someone can check if SuSE and/or Madriva ship those program i'm willing to review the patches. But currently i don't have time for anything else, as my mater thesis is taking up all my time.
Comment 6 Thomas Wood 2007-01-06 18:18:49 UTC
What about if the About Me capplet checks for the userinfo program, and only enables editing if it is present?
Comment 7 Bastien Nocera 2010-11-21 02:26:17 UTC
The new user-accounts dialogue allows you to do that, and will change the GECOS information.


$ cat /etc/passwd| grep testuser
testuser:x:501:501:Test User:/home/testuser:/bin/bash
# Change name in the user-accounts panel
$ cat /etc/passwd| grep testuser
testuser:x:501:501:Test User, Jr.:/home/testuser:/bin/bash
Comment 8 Bastien Nocera 2010-11-21 03:30:31 UTC
*** Bug 625432 has been marked as a duplicate of this bug. ***