Bug 168029 - Copy&pasto in libuser.c:pwdb_update_shell
Copy&pasto in libuser.c:pwdb_update_shell
Product: Fedora
Classification: Fedora
Component: passwd (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Tomas Mraz
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-09-10 22:08 EDT by Miloslav Trmač
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-29 04:28:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Miloslav Trmač 2005-09-10 22:08:24 EDT
                lu_ent_clear(ent, LU_GECOS);
                lu_ent_add(ent, LU_LOGINSHELL, &value);

When compared to pwdb_update_gecos() above it it's clear this is a
copy & paste bug; lu_ent_clear() in pwdb_update_shell() should clear

So chsh would clear gecos and do something not quite defined with the login
shell. Luckily this chsh isn't used - so this is purely cosmetic for FC.

Version-Release number of selected component (if applicable):
CVS as of Sun 11 2005
Comment 1 Tomas Mraz 2005-09-29 04:28:24 EDT
Applied to upstream CVS on elvis.

Note You need to log in before you can comment on or make changes to this bug.