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 301820 - gdm should use username from pwent structure and not username typed from user
gdm should use username from pwent structure and not username typed from user
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
2.6.0.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-24 19:57 UTC by Ray Strode [halfline]
Modified: 2005-04-25 19:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Look up username from pwent structure. (1013 bytes, patch)
2005-04-24 19:58 UTC, Ray Strode [halfline]
none Details | Review

Description Ray Strode [halfline] 2005-04-24 19:57:01 UTC
On some setups more than one user inputed username can map to one canonical
username.  No matter what the user types in, gdm should find and use the
canonical username when setting LOGNAME, USER, USERNAME, etc.

See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=141380 for more details.
Comment 1 Ray Strode [halfline] 2005-04-24 19:58:05 UTC
Created attachment 45622 [details] [review]
Look up username from pwent structure.

Patch from Mike Patnode <mike.patnode@centrify.com>.
Comment 2 Brian Cameron 2005-04-25 19:14:34 UTC
Looks good.  Fixed in CVS head.