Bug 89205
Summary: | Unable to handle '.' in usernames (name.lastname) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Josh Algdal <josh> | ||||
Component: | shadow-utils | Assignee: | Nalin Dahyabhai <nalin> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 9 | CC: | admin, chris.ricker, cjj2, djuran, feliciano.matias, guillaume.nobiron, john.cummings, jose, jsbartle, l.otvos, milan.kerslager, noel, rishi, smann | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | athlon | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-02-21 18:52:45 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Josh Algdal
2003-04-20 20:32:46 UTC
I too have experienced this bug (which is a major pain in the butt). In my case it is a fresh installation (I have heard that this problem does not occur with upgrades). Does anyone have a workaround? - Aside from editting the passwd file to change the username manually, that it. The bug does not affect the command "newusers" so users can be created in batch mode without problems. In what is probably the most tedious workaround in history, an individual user can be created directly from the keyboard using the following syntax: echo 'username:password:::comment:homedirectory:defaultshell' | newusers Created attachment 93907 [details]
Patch to allow period ('.') in usernames
*** Bug 104179 has been marked as a duplicate of this bug. *** *** Bug 88358 has been marked as a duplicate of this bug. *** *** Bug 80462 has been marked as a duplicate of this bug. *** The patch from comment #3 works. I made RPM package shadow-utils-4.0.3-6.1.9.i386.rpm, you can grab it here: ftp://ftp.linux.cz/pub/linux/people/milan_kerslager/RedHat-9/RPMS/ ftp://ftp.pslib.cz/pub/users/Milan.Kerslager/RedHat-9/RPMS/ I see no reason to not allow dots in usernames. I see no application that do not allow usernames longer than 8 characters or dots in usernames since RH 6.0 or so. Please accept this patch to be backward compatible with Red Hat Linux and allow users to utilize glibc and other new tools. We are not living at 60's or 70's. *** Bug 108614 has been marked as a duplicate of this bug. *** I have this same problem, except my problem is serious. I have thousands of users on RH7.3 with dots in usernames and I'm planning to migrate them as soon as possible. Renaming these users is just not feasible. Just got hit with this one myself. Way too many dot'ed users out there to even consider removing the dots from all user accounts! I like the patch submitted, but it doesn't allow usernames that *begin* with a dot. I've no need for usernames beginning with a dot myself, but if anyone out there does, please speak up now. IMHO, this patch should make it to release as soon as possible so folks can press forward with upgrading their 7.x and 8.x boxes. Or better yet... switch to Debian. Knoppix is pretty good. Once you get used to Debian, you won't switch to another GNU/Linux distro. ;-) BTW I tried creating a user starting with a dot and it allowed me to do so. However, if I try to login using the 'su' command it says: su: User not known to the underlying authentication module Sorry. And when I login from the console it says: Login incorrect So I guess this is a problem with something else and not shadow utils. ;-) Regards Rishi *** Bug 88877 has been marked as a duplicate of this bug. *** *** Bug 100565 has been marked as a duplicate of this bug. *** The RPM from comment #7 worked on our RH9 servers ... but we also have the same problem on Fedora CORE 1 ... and on that the RPM won't install because Fedora uses a newer version ... Can someone help me to make the ' . ' issue work on Fedora?! Since i haven't yet found a solutions for Fedora yet .. Thank you! As RH 9 is near of end-of-life, I'm marking as duplicate of new bug related to RHEL3 (Red Hat Enterprise Linux). I have patched version for RHEL3, see the bug #115383. *** This bug has been marked as a duplicate of 115383 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |