Bug 159034 - useradd not allowing '.' in usernames
useradd not allowing '.' in usernames
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: shadow-utils (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Vrabec
David Lawrence
: Regression
: 160469 (view as bug list)
Depends On:
Blocks: 168424
  Show dependency treegraph
 
Reported: 2005-05-27 18:11 EDT by David Lehman
Modified: 2016-06-01 09:03 EDT (History)
4 users (show)

See Also:
Fixed In Version: RHBA-2006-0032
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-03-15 10:32:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
fix candidate (1.79 KB, patch)
2005-05-31 04:58 EDT, Peter Vrabec
no flags Details | Diff

  None (edit)
Description David Lehman 2005-05-27 18:11:46 EDT
Description of problem:
User/group names containing '.' are not allowed by U5 shadow-utils' useradd.
This is a regression. shadow-utils-4.0.3-23.04 seems to me to have it right but
it was broken again with -23.07.

Version-Release number of selected component (if applicable):
shadow-utils-4.0.3-23.08

How reproducible:
Always

Steps to Reproduce:
1. useradd joe.schmoe
2.
3.
  
Actual results:
useradd: invalid user name 'joe.schmoe'

Expected results:
Successful creation of account

Additional info:
Please re-examine the changes between -23.04 and -23.07 as I am fairly confident
they broke this and perhaps more.
Comment 1 Peter Vrabec 2005-05-31 04:58:34 EDT
Created attachment 114983 [details]
fix candidate

It's almost same patch as in RHEL-4 and devel.
Please let me now it works.
Comment 12 Milan Kerslager 2005-07-01 00:41:28 EDT
*** Bug 160469 has been marked as a duplicate of this bug. ***
Comment 15 Milan Kerslager 2005-10-11 14:16:47 EDT
After U6, the bug is still here. This is not so exciting as RHEL4 does not have
this bug and RHEL 2.1 does not have this bug too (and RHEL3 had not have this
bug in the past).

My (updated) patched packages are here:

ftp://ftp.pslib.cz/pub/users/Milan.Kerslager/RHEL-3/stable/
ftp://ftp.linux.cz/pub/linux/people/milan_kerslager/RHEL-3/stable/
Comment 21 Milan Kerslager 2005-11-01 04:03:34 EST
Sorry - I did not used patch from comment #12 so '$' char has not been allowed.
New package is available from the URL above, auto-join to the Samba domain now
works.
Comment 24 Red Hat Bugzilla 2006-03-15 10:32:20 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2006-0032.html

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